org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/data/biocache-reindex/solr-create/biocache-thread-2/data/index/write.lock

GitHub | charvolant | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bulk re-index terminates early and then can't merge

    GitHub | 8 months ago | charvolant
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/data/biocache-reindex/solr-create/biocache-thread-2/data/index/write.lock
  2. 0

    GitHub comment 130#261812074

    GitHub | 3 months ago | ansell
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/data2/biocache-reindex/solr-create/biocache-thread-1/data/index/write.lock

    Root Cause Analysis

    1. org.apache.lucene.store.LockObtainFailedException

      Lock obtain timed out: NativeFSLock@/data/biocache-reindex/solr-create/biocache-thread-2/data/index/write.lock

      at org.apache.lucene.store.Lock.obtain()
    2. Lucene
      IndexWriter.addIndexes
      1. org.apache.lucene.store.Lock.obtain(Lock.java:89)
      2. org.apache.lucene.index.IndexWriter.acquireWriteLocks(IndexWriter.java:2472)
      3. org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:2526)
      3 frames
    3. au.org.ala
      CMD2.main
      1. au.org.ala.biocache.index.IndexMergeTool$.merge(BulkProcessor.scala:256)
      2. au.org.ala.biocache.index.BulkProcessor$.main(BulkProcessor.scala:164)
      3. au.org.ala.biocache.cmd.CMD2$.main(CMD2.scala:134)
      4. au.org.ala.biocache.cmd.CMD2.main(CMD2.scala)
      4 frames