Closed
Bug 1393197
Opened 7 years ago
Closed 7 years ago
[traceback] TransportError(400, u'search_phase_execution_exception', u'Fielddata is disabled ...
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: willkg, Unassigned)
References
(Blocks 1 open bug)
Details
From https://sentry.prod.mozaws.net/operations/socorro-stage/issues/643540/ Traceback: """ RequestError: TransportError(400, u'search_phase_execution_exception', u'Fielddata is disabled on text fields by default. Set fielddata=true on [processed_crash.exploitability] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.') File "django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "newrelic/hooks/framework_django.py", line 499, in wrapper return wrapped(*args, **kwargs) File "crashstats/signature/views.py", line 65, in inner return view(request, *args, **kwargs) File "crashstats/signature/views.py", line 432, in signature_summary search_results = api.get(**params) File "crashstats/supersearch/models.py", line 214, in get return super(SuperSearch, self).get(**kwargs) File "crashstats/crashstats/models.py", line 333, in get return self._get(expect_json=expect_json, **kwargs) File "crashstats/crashstats/models.py", line 391, in _get expect_json=expect_json, File "crashstats/crashstats/models.py", line 174, in inner result = method(*args, **kwargs) File "crashstats/crashstats/models.py", line 264, in fetch result = implementation_method(**params) File "socorro/external/es/supersearch.py", line 450, in get results = search.execute() File "elasticsearch_dsl/search.py", line 606, in execute **self._params File "newrelic/hooks/datastore_elasticsearch.py", line 70, in _nr_wrapper_Elasticsearch_method_ return wrapped(*args, **kwargs) File "elasticsearch/client/utils.py", line 73, in _wrapped return func(*args, params=params, **kwargs) File "elasticsearch/client/__init__.py", line 625, in search doc_type, '_search'), params=params, body=body) File "elasticsearch/transport.py", line 318, in perform_request status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout) File "elasticsearch/connection/http_requests.py", line 89, in perform_request self._raise_error(response.status_code, raw_data) File "elasticsearch/connection/base.py", line 124, in _raise_error raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info) """ I got that from going to this url on -stage: https://crash-stats.allizom.org/signature/?product=Firefox&_sort=-date&signature=F1398665248_____________________________&date=%3E%3D2017-08-16T20%3A00%3A00.000Z&date=%3C2017-08-23T20%3A00%3A00.000Z
Reporter | ||
Updated•7 years ago
|
Summary: [traceback] → [traceback] TransportError(400, u'search_phase_execution_exception', u'Fielddata is disabled ...
Reporter | ||
Comment 1•7 years ago
|
||
Another sentry entry: https://sentry.prod.mozaws.net/operations/socorro-stage/issues/643552/ That was from this page: https://crash-stats.allizom.org/exploitability/?product=Firefox&version=57.0a1
Comment 2•7 years ago
|
||
(In reply to Will Kahn-Greene [:willkg] ET needinfo? me from comment #1) > Another sentry entry: > > https://sentry.prod.mozaws.net/operations/socorro-stage/issues/643552/ > > That was from this page: > > https://crash-stats.allizom.org/exploitability/?product=Firefox&version=57. > 0a1 For the record, I think it happens on any SuperSearch usage. Basically anytime we query Elasticsearch.
Reporter | ||
Comment 3•7 years ago
|
||
SuperSearch queries work: https://crash-stats.allizom.org/search/?product=Firefox&date=%3E%3D2017-08-16T20%3A57%3A00.000Z&date=%3C2017-08-23T20%3A57%3A00.000Z&_sort=-date&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#facet-signature And top crashers works, too: https://crash-stats.allizom.org/topcrashers/?product=Firefox&version=57.0a1 What makes you think it happens any time we query Elasticsearch?
Comment 4•7 years ago
|
||
(In reply to Will Kahn-Greene [:willkg] ET needinfo? me from comment #3) > SuperSearch queries work: > > https://crash-stats.allizom.org/search/?product=Firefox&date=%3E%3D2017-08- > 16T20%3A57%3A00.000Z&date=%3C2017-08-23T20%3A57%3A00.000Z&_sort=- > date&_facets=signature&_columns=date&_columns=signature&_columns=product&_col > umns=version&_columns=build_id&_columns=platform#facet-signature > > And top crashers works, too: > > https://crash-stats.allizom.org/topcrashers/?product=Firefox&version=57.0a1 > > What makes you think it happens any time we query Elasticsearch? I used the Custom search in Super Search and got that error too. And I also tested the home page. But at the time of writing, home page, top crashers, signature report, super search, exploitability report and crashes per day all work. The current problem seems to be: https://sentry.prod.mozaws.net/operations/socorro-stage/issues/625918/ which is that we're missing the socorro201733 index. Close as fixed?
Reporter | ||
Comment 5•7 years ago
|
||
Hot diggity--all the urls that were breaking for me work fine now. I'm going to close this as WORKSFORME.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•