the above query throw the following error in elasticsearch log..
[2012-11-14 06:25:26,572][WARN ][http.netty ] [Dominus]
Caught exception while handling client http traffic, closing connection
[id: 0x9
76ffeac, /192.168.1.245:41607 => /192.168.1.243:9200]
java.lang.NoSuchMethodError:
org.elasticsearch.rest.RestRequest.contentByteArray()[B
at
org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.parseSearchRequest(Carrot2RestAction.java:349)
at
org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.handleRequest(Carrot2RestAction.java:87)
at
org.elasticsearch.rest.RestController.executeHandler(RestController.java:159)
at
org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:142)
at
org.elasticsearch.http.HttpServer.internalDispatchRequest(HttpServer.java:120)
at
org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:82)
at
org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:285)
at
org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
at
org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:149)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
at
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:455)
at
org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
at
org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
at
org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
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:84)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:471)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:332)
at
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
That looks as though the Carrot2 plugin you're using is incompatible with
the version of Elasticsearch you're using (the plugin is invoking a method
that doesn't exist anymore). Which version of Elasticsearch are you using?
I think you'll need to raise this as an issue with the Carrot2 plugin
project.
On Thursday, November 15, 2012 12:50:40 AM UTC+13, Jalal wrote:
the above query throw the following error in elasticsearch log..
[2012-11-14 06:25:26,572][WARN ][http.netty ] [Dominus]
Caught exception while handling client http traffic, closing connection
[id: 0x9
76ffeac, /192.168.1.245:41607 => /192.168.1.243:9200]
java.lang.NoSuchMethodError:
org.elasticsearch.rest.RestRequest.contentByteArray()[B
at
org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.parseSearchRequest(Carrot2RestAction.java:349)
at
org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.handleRequest(Carrot2RestAction.java:87)
at
org.elasticsearch.rest.RestController.executeHandler(RestController.java:159)
at
org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:142)
at
org.elasticsearch.http.HttpServer.internalDispatchRequest(HttpServer.java:120)
at
org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:82)
at
org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:285)
at
org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
at
org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:149)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
at
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:455)
at
org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
at
org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
at
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
at
org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
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:84)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:471)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:332)
at
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Thanks Chris,
The error was with elasticsearch version 0.19.11, the carrot plugin used to
work well with 0.19.8. I will raise this issue with the Carrot plugin
project.
That looks as though the Carrot2 plugin you're using is incompatible with
the version of Elasticsearch you're using (the plugin is invoking a method
that doesn't exist anymore). Which version of Elasticsearch are you using?
I think you'll need to raise this as an issue with the Carrot2 plugin
project.
On Thursday, November 15, 2012 12:50:40 AM UTC+13, Jalal wrote:
the above query throw the following error in elasticsearch log..
[2012-11-14 06:25:26,572][WARN ][http.netty ] [Dominus]
Caught exception while handling client http traffic, closing connection
[id: 0x9
76ffeac, /192.168.1.245:41607 => /192.168.1.243:9200]
java.lang.NoSuchMethodError: org.elasticsearch.rest.**
RestRequest.contentByteArray()**[B
at org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.
parseSearchRequest(**Carrot2RestAction.java:349)
at org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.
handleRequest(**Carrot2RestAction.java:87)
at org.elasticsearch.rest.RestController.executeHandler(
RestController.java:159)
at org.elasticsearch.rest.**RestController.dispatchRequest(
RestController.java:142)
at org.elasticsearch.http.**HttpServer.**internalDispatchRequest(
**HttpServer.java:120)
at org.elasticsearch.http.HttpServer$Dispatcher.
dispatchRequest(HttpServer.**java:82)
at org.elasticsearch.http.netty.NettyHttpServerTransport.
dispatchRequest(**NettyHttpServerTransport.java:**285)
at org.elasticsearch.http.netty.HttpRequestHandler.
messageReceived(**HttpRequestHandler.java:43)
at org.elasticsearch.common.netty.channel.
SimpleChannelUpstreamHandler.handleUpstream(
SimpleChannelUpstreamHandler.**java:75)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline$**DefaultChannelHandlerContext.sendUpstream(
DefaultChannelPipeline.java:**793)
at org.elasticsearch.common.netty.handler.codec.http.
HttpChunkAggregator.**messageReceived(**HttpChunkAggregator.java:149)
at org.elasticsearch.common.netty.channel.
SimpleChannelUpstreamHandler.handleUpstream(
SimpleChannelUpstreamHandler.**java:75)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline$**DefaultChannelHandlerContext.sendUpstream(
DefaultChannelPipeline.java:**793)
at org.elasticsearch.common.netty.channel.Channels.
fireMessageReceived(Channels.**java:296)
at org.elasticsearch.common.netty.handler.codec.frame.
FrameDecoder.**unfoldAndFireMessageReceived(**FrameDecoder.java:455)
at org.elasticsearch.common.netty.handler.codec.replay.
ReplayingDecoder.callDecode(**ReplayingDecoder.java:538)
at org.elasticsearch.common.netty.handler.codec.replay.
ReplayingDecoder.**messageReceived(**ReplayingDecoder.java:437)
at org.elasticsearch.common.netty.channel.
SimpleChannelUpstreamHandler.handleUpstream(
SimpleChannelUpstreamHandler.**java:75)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline$**DefaultChannelHandlerContext.sendUpstream(
DefaultChannelPipeline.java:**793)
at org.elasticsearch.common.netty.OpenChannelsHandler.
handleUpstream(**OpenChannelsHandler.java:74)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
560)
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:**84)
at org.elasticsearch.common.netty.channel.socket.nio.
AbstractNioWorker.**processSelectedKeys(**AbstractNioWorker.java:471)
at org.elasticsearch.common.netty.channel.socket.nio.
AbstractNioWorker.run(**AbstractNioWorker.java:332)
at org.elasticsearch.common.netty.channel.socket.nio.
NioWorker.run(NioWorker.java:**35)
at org.elasticsearch.common.netty.util.
ThreadRenamingRunnable.run(**ThreadRenamingRunnable.java:**102)
at org.elasticsearch.common.netty.util.internal.
DeadLockProofWorker$1.run(**DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.**java:679)
Thanks Chris,
The error was with elasticsearch version 0.19.11, the carrot plugin used
to work well with 0.19.8. I will raise this issue with the Carrot plugin
project.
That looks as though the Carrot2 plugin you're using is incompatible with
the version of Elasticsearch you're using (the plugin is invoking a method
that doesn't exist anymore). Which version of Elasticsearch are you using?
I think you'll need to raise this as an issue with the Carrot2 plugin
project.
On Thursday, November 15, 2012 12:50:40 AM UTC+13, Jalal wrote:
the above query throw the following error in elasticsearch log..
[2012-11-14 06:25:26,572][WARN ][http.netty ] [Dominus]
Caught exception while handling client http traffic, closing connection
[id: 0x9
76ffeac, /192.168.1.245:41607 => /192.168.1.243:9200]
java.lang.NoSuchMethodError: org.elasticsearch.rest.**
RestRequest.contentByteArray()**[B
at org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.
parseSearchRequest(**Carrot2RestAction.java:349)
at org.elasticsearch.plugin.infinitbyte.Carrot2RestAction.
handleRequest(**Carrot2RestAction.java:87)
at org.elasticsearch.rest.RestController.executeHandler(
RestController.java:159)
at org.elasticsearch.rest.**RestController.dispatchRequest(
RestController.java:142)
at org.elasticsearch.http.HttpServer.
internalDispatchRequest(**HttpServer.java:120)
at org.elasticsearch.http.HttpServer$Dispatcher.
dispatchRequest(HttpServer.**java:82)
at org.elasticsearch.http.netty.NettyHttpServerTransport.
dispatchRequest(**NettyHttpServerTransport.java:**285)
at org.elasticsearch.http.netty.HttpRequestHandler.
messageReceived(**HttpRequestHandler.java:43)
at org.elasticsearch.common.netty.channel.
SimpleChannelUpstreamHandler.handleUpstream(
SimpleChannelUpstreamHandler.**java:75)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline$**DefaultChannelHandlerContext.sendUpstream(
DefaultChannelPipeline.java:**793)
at org.elasticsearch.common.netty.handler.codec.http.
HttpChunkAggregator.**messageReceived(**HttpChunkAggregator.java:149)
at org.elasticsearch.common.netty.channel.
SimpleChannelUpstreamHandler.handleUpstream(
SimpleChannelUpstreamHandler.**java:75)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline$**DefaultChannelHandlerContext.sendUpstream(
DefaultChannelPipeline.java:**793)
at org.elasticsearch.common.netty.channel.Channels.
fireMessageReceived(Channels.**java:296)
at org.elasticsearch.common.netty.handler.codec.frame.
FrameDecoder.**unfoldAndFireMessageReceived(**FrameDecoder.java:455)
at org.elasticsearch.common.netty.handler.codec.replay.
ReplayingDecoder.callDecode(**ReplayingDecoder.java:538)
at org.elasticsearch.common.netty.handler.codec.replay.
ReplayingDecoder.**messageReceived(**ReplayingDecoder.java:437)
at org.elasticsearch.common.netty.channel.
SimpleChannelUpstreamHandler.handleUpstream(
SimpleChannelUpstreamHandler.**java:75)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline$**DefaultChannelHandlerContext.sendUpstream(
DefaultChannelPipeline.java:**793)
at org.elasticsearch.common.netty.OpenChannelsHandler.
handleUpstream(**OpenChannelsHandler.java:74)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
565)
at org.elasticsearch.common.netty.channel.
DefaultChannelPipeline.**sendUpstream(DefaultChannelPipeline.java:
560)
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:**84)
at org.elasticsearch.common.netty.channel.socket.nio.
AbstractNioWorker.**processSelectedKeys(**AbstractNioWorker.java:471)
at org.elasticsearch.common.netty.channel.socket.nio.
AbstractNioWorker.run(**AbstractNioWorker.java:332)
at org.elasticsearch.common.netty.channel.socket.nio.
NioWorker.run(NioWorker.java:**35)
at org.elasticsearch.common.netty.util.
ThreadRenamingRunnable.run(**ThreadRenamingRunnable.java:**102)
at org.elasticsearch.common.netty.util.internal.
DeadLockProofWorker$1.run(**DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.**java:679)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.