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

GitHub | mr6volt | 7 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

    Error messages when re-open index

    GitHub | 1 year ago | bernd
    org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed
  2. 0

    GitHub comment 2917#251560285

    GitHub | 7 months ago | mr6volt
    org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed
  3. 0

    test failures

    GitHub | 3 years ago | mattweber
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [dfs], all shards failed; shardFailures {[fldhqviNRyK_6JLp8pH8tQ][test][4]: SearchParseException[[test][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[fldhqviNRyK_6JLp8pH8tQ][test][5]: SearchParseException[[test][5]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[L3om1MHxTAKSpWUQy21U5A][test][2]: RemoteTransportException[[node_0][inet[/192.168.1.121:9300]][search/phase/dfs]]; nested: SearchParseException[[test][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[fldhqviNRyK_6JLp8pH8tQ][test][3]: SearchParseException[[test][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[fldhqviNRyK_6JLp8pH8tQ][test][6]: SearchParseException[[test][6]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[fldhqviNRyK_6JLp8pH8tQ][test][7]: SearchParseException[[test][7]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[L3om1MHxTAKSpWUQy21U5A][test][0]: RemoteTransportException[[node_0][inet[/192.168.1.121:9300]][search/phase/dfs]]; nested: SearchParseException[[test][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; }{[fldhqviNRyK_6JLp8pH8tQ][test][1]: SearchParseException[[test][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent from org.elasticsearch.common.bytes.PagedBytesReference@f0a4a93c]; } at __randomizedtesting.SeedInfo.seed([CFC58CB69C73A534:8330A16E27FBB878]:0)
  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
      MessageChannelHandler.messageReceived
      1. org.elasticsearch.action.search.AbstractSearchAsyncAction.onFirstPhaseResult(AbstractSearchAsyncAction.java:206)[graylog.jar:?]
      2. org.elasticsearch.action.search.AbstractSearchAsyncAction$1.onFailure(AbstractSearchAsyncAction.java:152)[graylog.jar:?]
      3. org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:46)[graylog.jar:?]
      4. org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:212)[graylog.jar:?]
      5. org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:202)[graylog.jar:?]
      6. org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:136)[graylog.jar:?]
      6 frames
    3. Netty
      DeadLockProofWorker$1.run
      1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[graylog.jar:?]
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[graylog.jar:?]
      3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[graylog.jar:?]
      4. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[graylog.jar:?]
      5. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)[graylog.jar:?]
      6. org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)[graylog.jar:?]
      7. org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)[graylog.jar:?]
      8. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[graylog.jar:?]
      9. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[graylog.jar:?]
      10. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)[graylog.jar:?]
      11. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[graylog.jar:?]
      12. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[graylog.jar:?]
      13. org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[graylog.jar:?]
      14. org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[graylog.jar:?]
      15. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)[graylog.jar:?]
      16. org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[graylog.jar:?]
      17. org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[graylog.jar:?]
      18. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)[graylog.jar:?]
      19. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)[graylog.jar:?]
      19 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      3 frames