Hi all,
I received a error from elasticsearch all of a sudden:
{"error":"NoShardAvailableActionException[[video_category][4] No shard
available for [[video_category][type][4925390]: routing
[null]]]","status":500}
The error persists after a restart of the service.. So, what's the possible
cause of the problem?
Thank you.
Yuhan
The error log from elasticsearch:
[2012-07-06 00:23:22,867][DEBUG][action.admin.indices.status] [Pipeline]
[widgets][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]: Failed to
execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282
]
org.elasticsearch.index.IndexShardMissingException: [widgets][4] missing
at
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)
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)
[2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]
[destinations][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:
Failed to execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282
]
org.elasticsearch.index.IndexShardMissingException: [destinations][4]
missing
at
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)
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)
[2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]
[video_category][0], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:
Failed to execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282
]
org.elasticsearch.index.IndexShardMissingException: [video_category][0]
missing
at
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)
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)
[2012-07-06 00:23:22,869][DEBUG][action.admin.indices.status] [Pipeline]
[video_category][1], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:
Failed to execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282
]
org.elasticsearch.index.IndexShardMissingException: [video_category][1]
missing
at
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)
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)