Hi, guys:
I created a new cluster from scratch.
After the cluster is up,
If I just created a new index, I got the IndexShardMissing error:
[2013-02-25 17:58:28,339][DEBUG][action.admin.indices.status]
[xseed021.kdev] [2013-02-26][4], node[jqGL6hQQQiOAy8pkFS4g0A], [R],
s[INITIALIZING]: Failed to execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@47cf9c40]
org.elasticsearch.transport.RemoteTransportException:
[xseed034.kdev][inet[/10.96.250.224:9300]][indices/status/s]
Caused by: org.elasticsearch.index.IndexShardMissingException:
[2013-02-26][4] missing
at
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:179)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:153)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:59)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:398)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:384)
at
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:268)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
This error made shard is stuck in initializing state.
If I inserted one log into a new index(auto create a new index), I got
the IndexMissing error:
[2013-02-25 18:39:42,843][DEBUG][action.admin.indices.status]
[xseed021.kdev] [2013-01-01][1], node[jqGL6hQQQiOAy8pkFS4g0A], [P],
s[INITIALIZING]: Failed to execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@773448aa]
org.elasticsearch.transport.RemoteTransportException:
[xseed034.kdev][inet[/10.96.250.224:9300]][indices/status/s]
Caused by: org.elasticsearch.indices.IndexMissingException: [2013-01-01]
missing
at
org.elasticsearch.indices.InternalIndicesService.indexServiceSafe(InternalIndicesService.java:244)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:152)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:59)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:398)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:384)
at
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:268)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Does anyone know what cause these errors and how to avoid it?
Thank you very much!
You can ignore those failures with the status API, they are not problematic (the request was sent to a node that hasn't had a chance to allocate the index / shard on its node). In general though, we highly recommend to move from the status API to use the stats API, which hold most of the info the status API has.
Hi, guys:
I created a new cluster from scratch.
After the cluster is up,
If I just created a new index, I got the IndexShardMissing error:
[2013-02-25 17:58:28,339][DEBUG][action.admin.indices.status] [xseed021.kdev] [2013-02-26][4], node[jqGL6hQQQiOAy8pkFS4g0A], [R], s[INITIALIZING]: Failed to execute [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@47cf9c40]
org.elasticsearch.transport.RemoteTransportException: [xseed034.kdev][inet[/10.96.250.224:9300]][indices/status/s]
Caused by: org.elasticsearch.index.IndexShardMissingException: [2013-02-26][4] missing
at org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:179)
at org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:153)
at org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:59)
at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:398)
at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:384)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:268)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This error made shard is stuck in initializing state.
If I inserted one log into a new index(auto create a new index), I got the IndexMissing error:
[2013-02-25 18:39:42,843][DEBUG][action.admin.indices.status] [xseed021.kdev] [2013-01-01][1], node[jqGL6hQQQiOAy8pkFS4g0A], [P], s[INITIALIZING]: Failed to execute [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@773448aa]
org.elasticsearch.transport.RemoteTransportException: [xseed034.kdev][inet[/10.96.250.224:9300]][indices/status/s]
Caused by: org.elasticsearch.indices.IndexMissingException: [2013-01-01] missing
at org.elasticsearch.indices.InternalIndicesService.indexServiceSafe(InternalIndicesService.java:244)
at org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:152)
at org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:59)
at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:398)
at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$ShardTransportHandler.messageReceived(TransportBroadcastOperationAction.java:384)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:268)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Does anyone know what cause these errors and how to avoid it?
Thank you very much!
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.