amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.
https://www.amundsen.io/amundsen/
Apache License 2.0
4.44k stars 960 forks source link

AttributeError: 'ElasticsearchProxyV2' object has no attribute 'fetch_user_search_results' #1933

Closed saip50 closed 2 years ago

saip50 commented 2 years ago

Amundsen version: 2.0.0 we aren't able to search any data, click on tags to find data sets as giving exceptions on server side as follows:

2022-07-19T13:45:20+0000.234 [INFO] _internal._log:225 (1:Thread-30274) - 10.28.150.150 - - [19/Jul/2022 13:45:20] "←[35m←[1mGET /search?query_term=metadata&page_index=0 HTTP/1.1←[0m" 500 - 2022-07-19T13:45:20+0000.241 [ERROR] app.log_exception:1761 (1:Thread-30275) - Exception on /search_user [GET] Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functionsrule.endpoint File "/usr/local/lib/python3.7/site-packages/flask_restful/init.py", line 467, in wrapper resp = resource(*args, kwargs) File "/usr/local/lib/python3.7/site-packages/flask/views.py", line 88, in view return self.dispatch_request(*args, *kwargs) File "/usr/local/lib/python3.7/site-packages/flask_restful/init.py", line 582, in dispatch_request resp = meth(args, kwargs) File "/usr/local/lib/python3.7/site-packages/flasgger/utils.py", line 273, in wrapper return function(*args, **kwargs) File "/app/search_service/api/user.py", line 44, in get results = self.proxy.fetch_user_search_results( AttributeError: 'ElasticsearchProxyV2' object has no attribute 'fetch_user_search_results'

boring-cyborg[bot] commented 2 years ago

Thanks for opening your first issue here!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 2 years ago

This issue has been automatically closed for inactivity. If you still wish to make these changes, please open a new pull request or reopen this one.