Failed to execute fetch phase


(Koen Vanoppen) #1

I've got following lines constantly in my logs for elasticsearch 5:

[2016-11-09T14:58:45,189][DEBUG][o.e.a.s.TransportSearchAction] [elasticsearch01dev] [6702157] Failed to execute fetch phase
org.elasticsearch.transport.RemoteTransportException: [elasticsearch03dev][10.206.13.145:9300][indices:data/read/search[phase/fetch/id]]
Caused by: java.lang.IllegalArgumentException: features that prevent cachability are disabled on this context
at org.elasticsearch.index.query.QueryShardContext.failIfFrozen(QueryShardContext.java:396) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.index.query.QueryShardContext.nowInMillis(QueryShardContext.java:278) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.index.mapper.TTLFieldMapper$TTLFieldType.valueForSearch(TTLFieldMapper.java:146) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.index.fieldvisitor.FieldsVisitor.postProcess(FieldsVisitor.java:93) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.search.fetch.FetchPhase.createSearchHit(FetchPhase.java:187) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:152) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:474) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.action.search.SearchTransportService.lambda$registerRequestHandler$13(SearchTransportService.java:311) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.action.search.SearchTransportService$$Lambda$1037/998004967.messageReceived(Unknown Source) ~[?:?]
at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.transport.TcpTransport$RequestHandler.doRun(TcpTransport.java:1348) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:504) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.0.0.jar:5.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]

Anyone has any ideas?


(Yannick Welsch) #2

This might be an issue that we've fixed for 5.0.1:

I'll ping one of the engineers that worked on it @colings86 to confirm


(Colin Goodheart-Smithe) #3

@ironbeast could you post the search request that produces this exception?


(Koen Vanoppen) #4

No search request yet... Just booting up the ES cluster


(Clinton Gormley) #5

This still fails in 5.0.1. I've opened an issue: https://github.com/elastic/elasticsearch/issues/21457


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.