IndexShardMissingException and IndexMissingException

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IndexShardMissingException and IndexMissingException

Dong Aihua
Hi, guys:
  I created a new cluster from scratch.
  After the cluster is up, 
1) 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.


2) 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!

-Regards-
-Dong Aihua-   

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: IndexShardMissingException and IndexMissingException

kimchy
Administrator
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.

On Feb 25, 2013, at 11:04 AM, jackiedong <[hidden email]> wrote:

Hi, guys:
  I created a new cluster from scratch.
  After the cluster is up, 
1) 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.


2) 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!

-Regards-
-Dong Aihua-   


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

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