org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/tmp/rdf4j-loader-s5A6SCKMe.34724407296800170144873/lucenedir/write.lock. Only some operations were stored, 1 operations are discarded. Lucene Index is now corrupt. org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/tmp/rdf4j-loader-s5A6SCKMe.34724407296800170144873/lucenedir/write.lock

GitHub | jgrzebyta | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Lucene wrapped in SailRepository with multithreading gives error

    GitHub | 10 months ago | jgrzebyta
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/tmp/rdf4j-loader-s5A6SCKMe.34724407296800170144873/lucenedir/write.lock. Only some operations were stored, 1 operations are discarded. Lucene Index is now corrupt. org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/tmp/rdf4j-loader-s5A6SCKMe.34724407296800170144873/lucenedir/write.lock
  2. 0

    Problem with File Locks after running for a while

    GitHub | 6 years ago | ldriscoll
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/data/lucene/f62f4dd4-1f33-438f-8d40-13ba71f8e338/b629s4iybvcuwt0uwhxyw0jzc/write.lock
  3. 0

    Unicode index names causing DELETE index to hang

    GitHub | 2 years ago | clintongormley
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/Users/clinton/workspace/elasticsearch/data/elasticsearch/nodes/0/indices/test-weird-index-??/2/index/write.lock
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error on initializing Lucene index

    GitHub | 2 years ago | vitorenesduarte
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/Users/vitorenes/home/progs/orientdb-community-2.0.4/databases/Demo/luceneIndexes/UserLUCENE/write.lock
  6. 0

    OCommandSQL create lucene index throws exception

    GitHub | 2 years ago | syshex
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/rui/projects/IT-Contactos/datafolder/databases/contactos/luceneIndexes/Pessoa.nome/write.lock

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.lucene.store.LockObtainFailedException

      Lock obtain timed out: NativeFSLock@/tmp/rdf4j-loader-s5A6SCKMe.34724407296800170144873/lucenedir/write.lock. Only some operations were stored, 1 operations are discarded. Lucene Index is now corrupt. org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/tmp/rdf4j-loader-s5A6SCKMe.34724407296800170144873/lucenedir/write.lock

      at org.apache.lucene.store.Lock.obtain()
    2. Lucene
      IndexWriter.<init>
      1. org.apache.lucene.store.Lock.obtain(Lock.java:89)
      2. org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:780)
      2 frames
    3. org.eclipse.rdf4j
      SailRepositoryConnection.commit
      1. org.eclipse.rdf4j.sail.lucene.LuceneIndex.getIndexWriter(LuceneIndex.java:291)
      2. org.eclipse.rdf4j.sail.lucene.LuceneIndex.rollback(LuceneIndex.java:658)
      3. org.eclipse.rdf4j.sail.lucene.LuceneSailConnection.addRemoveStatements(LuceneSailConnection.java:256)
      4. org.eclipse.rdf4j.sail.lucene.LuceneSailConnection.commit(LuceneSailConnection.java:217)
      5. org.eclipse.rdf4j.repository.sail.SailRepositoryConnection.commit(SailRepositoryConnection.java:169)
      5 frames
    4. triple
      loader$eval939$fn__940.invoke
      1. triple.loader$eval939$fn__940$fn__941.invoke(loader.clj:122)
      2. triple.loader$eval939$fn__940.invoke(loader.clj:98)
      2 frames
    5. Clojure
      MultiFn.invoke
      1. clojure.lang.MultiFn.invoke(MultiFn.java:238)
      1 frame
    6. triple
      loader$eval935$fn__936.invoke
      1. triple.loader$eval935$fn__936.invoke(loader.clj:88)
      1 frame
    7. Clojure
      MultiFn.invoke
      1. clojure.lang.MultiFn.invoke(MultiFn.java:238)
      1 frame
    8. Unknown
      sparql$load_multidata$fn__1094$fn__1095.invoke
      1. sparql$load_multidata$fn__1094$fn__1095.invoke(sparql.clj:102)
      1 frame
    9. Clojure
      AFn.call
      1. clojure.lang.AFn.call(AFn.java:18)
      1 frame
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames