I am rapidly pushing 750k documents to one elasticsearch node
(localhost). About 3% of them fail to push over rest. The json is
fine. I've pushed all these to CouchDB before.
The console just fills up with this
[11:55:54,225][WARN ][http.netty ] [Reilly, Ben] Caught
exception while handling client http trafic
java.lang.ClassCastException:
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to
org.jboss.netty.handler.codec.http.HttpRequest
at
org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:
39)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
391)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:
499)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:
490)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:
427)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:
156)
at
org.elasticsearch.http.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:
49)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
323)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
275)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:
196)
at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:
46)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
I am rapidly pushing 750k documents to one elasticsearch node
(localhost). About 3% of them fail to push over rest. The json is
fine. I've pushed all these to CouchDB before.
The console just fills up with this
[11:55:54,225][WARN ][http.netty ] [Reilly, Ben] Caught
exception while handling client http trafic
java.lang.ClassCastException:
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to
org.jboss.netty.handler.codec.http.HttpRequest
at
org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:
39)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
391)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:
499)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:
490)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:
427)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:
156)
at
org.elasticsearch.http.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:
49)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
323)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
275)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:
196)
at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:
46)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
I am rapidly pushing 750k documents to one elasticsearch node
(localhost). About 3% of them fail to push over rest. The json is
fine. I've pushed all these to CouchDB before.
The console just fills up with this
[11:55:54,225][WARN ][http.netty ] [Reilly, Ben] Caught
exception while handling client http trafic
java.lang.ClassCastException:
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to
org.jboss.netty.handler.codec.http.HttpRequest
at
org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequest Handler.java:
39)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
391)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageR eceived(ReplayingDecoder.java:
499)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingD ecoder.java:
490)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(Repla yingDecoder.java:
427)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTime outHandler.java:
156)
at
org.elasticsearch.http.netty.OpenChannelsHandler.handleUpstream(OpenChannel sHandler.java:
49)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
323)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker. java:
275)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:
196)
at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:
46)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
I am rapidly pushing 750k documents to one elasticsearch node
(localhost). About 3% of them fail to push over rest. The json is
fine. I've pushed all these to CouchDB before.
The console just fills up with this
[11:55:54,225][WARN ][http.netty ] [Reilly, Ben] Caught
exception while handling client http trafic
java.lang.ClassCastException:
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to
org.jboss.netty.handler.codec.http.HttpRequest
at
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
323)
at
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
By the way, it would be interesting the know the numbers you are getting. If
you can, also post the environment you are running on (os, number of CPUs),
the client type, number of clients (concurrent), typical document size and
content, elasticsearch configuration (both node level and index level), cpu
taken by client and by elasticsearch, and anything else you find useful.
I am rapidly pushing 750k documents to one elasticsearch node
(localhost). About 3% of them fail to push over rest. The json is
fine. I've pushed all these to CouchDB before.
The console just fills up with this
[11:55:54,225][WARN ][http.netty ] [Reilly, Ben] Caught
exception while handling client http trafic
java.lang.ClassCastException:
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to
org.jboss.netty.handler.codec.http.HttpRequest
at
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
323)
at
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
I am rapidly pushing 750k documents to one elasticsearch node
(localhost). About 3% of them fail to push over rest. The json is
fine. I've pushed all these to CouchDB before.
The console just fills up with this
[11:55:54,225][WARN ][http.netty ] [Reilly, Ben] Caught
exception while handling client http trafic
java.lang.ClassCastException:
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to
org.jboss.netty.handler.codec.http.HttpRequest
at
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
323)
at
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
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.