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

GitHub | marevol | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SearchPhaseExecutionException on job_log_aggregator thead

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

    Elastic Search exception: Failed to execute ES search request

    Google Groups | 8 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]'

    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