org.elasticsearch.env.ShardLockObtainFailedException: [store2-v5][0]: obtaining shard lock timed out after 5000ms


Solutions on the web

Solution icon of github
via GitHub by olivere
, 8 months ago
[store2-v5][0]: obtaining shard lock timed out after 5000ms

Solution icon of github
via GitHub by olivere
, 11 months ago
[store2-v5][0]: obtaining shard lock timed out after 5000ms

Solution icon of github
via GitHub by fulax
, 8 months ago
[crawlout-seed][7]: obtaining shard lock timed out after 5000ms

Solution icon of github
via GitHub by rps-v
, 1 month ago
[tracknamic.device][4]: obtaining shard lock timed out after 5000ms

Stack trace

org.elasticsearch.env.ShardLockObtainFailedException: [store2-v5][0]: obtaining shard lock timed out after 5000ms
	at org.elasticsearch.env.NodeEnvironment$InternalShardLock.acquire(NodeEnvironment.java:711)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.env.NodeEnvironment.shardLock(NodeEnvironment.java:630)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.index.store.Store.tryOpenIndex(Store.java:418)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.gateway.TransportNodesListGatewayStartedShards.nodeOperation(TransportNodesListGatewayStartedShards.java:143)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.gateway.TransportNodesListGatewayStartedShards.nodeOperation(TransportNodesListGatewayStartedShards.java:60)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.action.support.nodes.TransportNodesAction.nodeOperation(TransportNodesAction.java:144)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:271)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:267)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:548)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:504)[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)[elasticsearch-5.0.0.jar:5.0.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_102]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_102]
	at java.lang.Thread.run(Thread.java:745)[?:1.8.0_102]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.