Running into an issue on elastic. Right now elastic is not returning
anything, and this is the only thing that keeps being output to the log
file:
[2012-12-23 16:30:29,270][WARN ][http.netty ] [Lykos, Karl]
Caught exception while handling client http traffic, closing connection
[id: 0x4c97a006, /172.16.225.14:57157 => /172.16.225.22:9200]
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:185)
at java.net.SocketInputStream.read(SocketInputStream.java:199)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at java.io.PushbackInputStream.read(PushbackInputStream.java:139)
at
org.elasticsearch.common.netty.channel.socket.oio.OioWorker.process(OioWorker.java:65)
at
org.elasticsearch.common.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:75)
at
org.elasticsearch.common.netty.channel.socket.oio.OioWorker.run(OioWorker.java:52)
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:636)
Update: I tried getting it out of an UNASSIGNED state with no luck
When I try to do a simple count on an index, I get this:
{"count":0,"_shards":"total":1,"successful":0,"failed":1,"failures
":[{"index":"wm_index","shard":0,"reason":"BroadcastShardOperationFailedExc
eption[[wm_index][0] No active shard(s)]"}]}}
And this is what I get when I curl :9200/_cluster/health:
{"cluster_name":"elasticsearch","status":"red","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":0,"active_shards":0,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":1}
I'm also getting this exception, with v2.4.1. Any resolution to this? Here's my stack trace. Right now I don't have anything running except Elasticsearch.
[2016-10-05 22:22:03,995][WARN ][http.netty ] [Hulk] Caught exception while handling client http traffic, closing connection [id: 0xb398933b, /127.0.0.1:51466 :> /127.0.0.1:9200]
java.lang.IllegalArgumentException: invalid version format: マ~
ヒᄍ
at org.jboss.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:94)
at org.jboss.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:62)
at org.jboss.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:75)
at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:191)
at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:102)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.cleanup(ReplayingDecoder.java:554)
at org.jboss.netty.handler.codec.frame.FrameDecoder.channelDisconnected(FrameDecoder.java:365)
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.