We are deploying ElasticSearch for an exciting project at a
University. It has gone well with just a couple of errors.
One of the errors has to do with the gateway that is stored on a an
NFS file server.
[WARN] [Professor Power] [system][0] failed to obtain snapshot lock,
ignoring snapshot
org.elasticsearch.ElasticSearchIllegalStateException: failed to obtain
snapshot lock [NativeFSLock@/export/home/apps/hbs/local/localhost/WEB-
INF/data/elastic/gateway/entermediaprod/indices/system/0/
snapshot.lock] at
org.elasticsearch.index.gateway.fs.FsIndexShardGateway.obtainSnapshotLock(FsIndexShardGateway.java:
65)
at
org.elasticsearch.index.gateway.IndexShardGatewayService.snapshot(IndexShardGatewayService.java:
258)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$SnapshotRunnable.run(IndexShardGatewayService.java:365)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
We are deploying Elasticsearch for an exciting project at a
University. It has gone well with just a couple of errors.
One of the errors has to do with the gateway that is stored on a an
NFS file server.
[WARN] [Professor Power] [system][0] failed to obtain snapshot lock,
ignoring snapshot
org.elasticsearch.ElasticSearchIllegalStateException: failed to obtain
snapshot lock [NativeFSLock@/export/home/apps/hbs/local/localhost/WEB-
INF/data/elastic/gateway/entermediaprod/indices/system/0/
snapshot.lock] at
org.elasticsearch.index.gateway.fs.FsIndexShardGateway.obtainSnapshotLock(FsIndexShardGateway.java:
65)
at
org.elasticsearch.index.gateway.IndexShardGatewayService.snapshot(IndexShardGatewayService.java:
258)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$SnapshotRunnable.run(IndexShardGatewayService.java:365)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$SnapshotRunnable.run(IndexShardGatewayService.java:365)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
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.