org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed

GitHub | marevol | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SearchPhaseExecutionException on job_log_aggregator thead

    GitHub | 8 months ago | marevol
    org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed
  2. 0

    Elastic Search exception: Failed to execute ES search request

    Google Groups | 10 months ago | Unknown author
    java.lang.IllegalStateException: Fail to execute ES search request '{"from":10000,"size":500,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"must":[{"bool":{"must_not":{"exists":{"field":"resolution"}}}},{"terms":{"project":["AVWactTp5T8J3rHLmKpo"]}},{"has_parent":{"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"should":[{"term":{"users":"jenkins"}},{"term":{"groups":"Anyone"}},{"term":{"groups":"sonar-users"}},{"term":{"groups":"sonar-administrators"}}]}}}},"parent_type":"authorization"}}]}}}},"sort":[{"issueUpdatedAt":{"order":"desc","missing":"_first"}},{"key":{"order":"asc","missing":"_first"}}]}' on indices '[issues]' on types '[issue]'
  3. 0

    Not possible to browse rules after upgrade to 6.3

    Google Groups | 1 month ago | Jelle Nelis
    java.lang.IllegalStateException: Fail to execute ES search request '{"from":0,"size":200,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"must":{"bool":{"must_not":{"term":{"status":"REMOVED"}}}}}}}},"sort":[{"name.sortable_analyzer":{"order":"asc"}}],"aggregations":{"types":{"global":{},"aggregations":{"types_filter":{"filter":{"bool":{"must":[{"match_all":{}},{"bool":{"must_not":{"term":{"status":"REMOVED"}}}}]}},"aggregations":{"types":{"terms":{"field":"type","size":10,"min_doc_count":1,"order":{"_count":"desc"}}}}}}},"languages":{"global":{},"aggregations":{"languages_filter":{"filter":{"bool":{"must":[{"match_all":{}},{"bool":{"must_not":{"term":{"status":"REMOVED"}}}}]}},"aggregations":{"languages":{"terms":{"field":"lang","size":10,"min_doc_count":1,"order":{"_count":"desc"}}}}}}}}}' on indices '[rules]' on types '[rule]'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [elasticsearch] How to query document for field to be null - Grokbase

    grokbase.com | 2 years ago
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], total failure; shardFailures {[PYKLaUd2QtuTuxm7IJv7aA][pdf4][0]: SearchParseException[[pdf4][0]: from[-1],size[100]: Parse Failure [Failed to parse source [{"size":100,"query":{"bool":{"must":[{"field":{"refid":"2"}},{"term":{"updatedate":null}}]}},"fields":["refid","countryid","salary","createdate","updatedate"]}]]]; nested: ElasticSearchParseException[failed to parse date field [null], tried both date format [dateOptionalTime], and timestamp number]; nested: IllegalArgumentException[Invalid format: "null"]; } at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:260) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:213) at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:246) at org.elasticsearch.action.search.type.TransportSearchQueryAndFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryAndFetchAction.java:75) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:178) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    1 unregistered visitors

    Root Cause Analysis

    1. org.elasticsearch.action.search.SearchPhaseExecutionException

      all shards failed

      at org.elasticsearch.action.search.AbstractSearchAsyncAction.onFirstPhaseResult()
    2. ElasticSearch
      AbstractRunnable.run
      1. org.elasticsearch.action.search.AbstractSearchAsyncAction.onFirstPhaseResult(AbstractSearchAsyncAction.java:206)
      2. org.elasticsearch.action.search.AbstractSearchAsyncAction$1.onFailure(AbstractSearchAsyncAction.java:152)
      3. org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:46)
      4. org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:855)
      5. org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:833)
      6. org.elasticsearch.transport.TransportService$4.onFailure(TransportService.java:387)
      7. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39)
      7 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames