Hi Flo,

this looks kind of strange and seems to be an internal Elasticsearch 
problem. The stacktrace never mentions any part of Graylog2 so I guess it 
could be some incompatibility between the version of Elasticsearch in 
Graylog2 and the version used in the ES cluster.

Which exact version of Elasticsearch are you running in your cluster?


Cheers,
Jochen

On Wednesday, 26 November 2014 18:24:51 UTC+1, Florent Bautista wrote:
>
> Hi everyone, 
>
> I upgraded today from 0.20.3 to 0.91.3, every thing seems fine, but I 
> can't search on web interface. Whatever filter I enter, I have this error 
> : 
>
>
> (You caused a org.graylog2.restclient.lib.APIException. API call failed 
> GET 
> http://@
> 10.111.12.171:12900/search/universal/relative/histogram?interval=minute&query=*&range=300&range_type=relative&filter=*
>  
> returned 500 Internal Server Error body: Failed to execute phase 
> [query], all shards failed; shardFailures 
> {[uaTqx35kSqqQ-6OfJ37k_A][graylog2_9][0]: 
> RemoteTransportException[[Golem][inet[/10.111.20.13:9300]][search/phase/query]];
>  
>
> nested: SearchParseException[[graylog2_9][0]: 
> query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to 
> parse source 
> [{"query":{"query_string":{"query":"*","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-11-26
>  
>
> 17:17:33.712","to":"2014-11-26 
> 17:22:33.712","include_lower":true,"include_upper":true}}}}}}}}]]]; 
> nested: 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
>  
>
> cannot be cast to 
> org.elasticsearch.index.fielddata.IndexNumericFieldData]; 
> }{[uaTqx35kSqqQ-6OfJ37k_A][graylog2_9][1]: 
> RemoteTransportException[[Golem][inet[/10.111.20.13:9300]][search/phase/query]];
>  
>
> nested: SearchParseException[[graylog2_9][1]: 
> query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to 
> parse source 
> [{"query":{"query_string":{"query":"*","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-11-26
>  
>
> 17:17:33.712","to":"2014-11-26 
> 17:22:33.712","include_lower":true,"include_upper":true}}}}}}}}]]]; 
> nested: 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
>  
>
> cannot be cast to 
> org.elasticsearch.index.fielddata.IndexNumericFieldData]; 
> }{[68P3oZCnSCqbR7_pCUfAPA][graylog2_9][2]: 
> RemoteTransportException[[Athena][inet[/10.111.20.11:9300]][search/phase/query]];
>  
>
> nested: SearchParseException[[graylog2_9][2]: 
> query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to 
> parse source 
> [{"query":{"query_string":{"query":"*","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-11-26
>  
>
> 17:17:33.712","to":"2014-11-26 
> 17:22:33.712","include_lower":true,"include_upper":true}}}}}}}}]]]; 
> nested: 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
>  
>
> cannot be cast to 
> org.elasticsearch.index.fielddata.IndexNumericFieldData]; } 
> org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to 
> execute phase [query], all shards failed; shardFailures 
> {[uaTqx35kSqqQ-6OfJ37k_A][graylog2_9][0]: 
> RemoteTransportException[[Golem][inet[/10.111.20.13:9300]][search/phase/query]];
>  
>
> nested: SearchParseException[[graylog2_9][0]: 
> query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to 
> parse source 
> [{"query":{"query_string":{"query":"*","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-11-26
>  
>
> 17:17:33.712","to":"2014-11-26 
> 17:22:33.712","include_lower":true,"include_upper":true}}}}}}}}]]]; 
> nested: 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
>  
>
> cannot be cast to 
> org.elasticsearch.index.fielddata.IndexNumericFieldData]; 
> }{[uaTqx35kSqqQ-6OfJ37k_A][graylog2_9][1]: 
> RemoteTransportException[[Golem][inet[/10.111.20.13:9300]][search/phase/query]];
>  
>
> nested: SearchParseException[[graylog2_9][1]: 
> query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to 
> parse source 
> [{"query":{"query_string":{"query":"*","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-11-26
>  
>
> 17:17:33.712","to":"2014-11-26 
> 17:22:33.712","include_lower":true,"include_upper":true}}}}}}}}]]]; 
> nested: 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
>  
>
> cannot be cast to 
> org.elasticsearch.index.fielddata.IndexNumericFieldData]; 
> }{[68P3oZCnSCqbR7_pCUfAPA][graylog2_9][2]: 
> RemoteTransportException[[Athena][inet[/10.111.20.11:9300]][search/phase/query]];
>  
>
> nested: SearchParseException[[graylog2_9][2]: 
> query[ConstantScore(*:*)],from[-1],size[-1]: Parse Failure [Failed to 
> parse source 
> [{"query":{"query_string":{"query":"*","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-11-26
>  
>
> 17:17:33.712","to":"2014-11-26 
> 17:22:33.712","include_lower":true,"include_upper":true}}}}}}}}]]]; 
> nested: 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
>  
>
> cannot be cast to 
> org.elasticsearch.index.fielddata.IndexNumericFieldData]; } at 
> org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:233)
>  
>
> at 
> org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:179)
>  
>
> at 
> org.elasticsearch.search.action.SearchServiceTransportAction$6.handleException(SearchServiceTransportAction.java:224)
>  
>
> at 
> org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:185)
>  
>
> at 
> org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:175)
>  
>
> at 
> org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125)
>  
>
> at 
> org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
>  
>
> at 
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>  
>
> at 
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
>  
>
> at 
> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)
>  
>
> at 
> org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
>  
>
> at 
> org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
>  
>
> at 
> org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
>  
>
> at 
> org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
>  
>
> at 
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>  
>
> at 
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
>  
>
> at 
> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
>  
>
> at 
> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
>  
>
> at 
> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
>  
>
> at 
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
>  
>
> at 
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
>  
>
> at 
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
>  
>
> at 
> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
>  
>
> at 
> org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
>  
>
> at 
> org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
>  
>
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  
>
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  
>
> at java.lang.Thread.run(Thread.java:745) ) 
>
>
>
> It seems it's a field casting problem, but I have no idea how to solve 
> this. 
>
> Can someone help ? 
>
> Thank you. 
> Flo 
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to