org.apache.lucene.store.LockObtainFailedException

Lock obtain timed out: NativeFSLock@/home/atlas/sakai3/sling/solr/nakamura/index/lucene-eae4305949e0adf474e258ed0705abfc-write.lock

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web166

  • via Google Groups by Carl Hall, 6 months ago
    Lock obtain timed > out: > > NativeFSLock@/home/atlas/sakai3/sling/solr/nakamura/index/lucene-eae4305949e0adf474e258ed0705abfc-write.lock
  • via Stack Overflow by user2046007
    , 1 year ago
    Lock obtain timed out: NativeFSLock@/home/solr/solr/data/index/write.lock
  • Lock obtain timed out: NativeFSLock@/home/solr/solr3/biomina/solr/original/data/index/write.lock
  • Stack trace

    • org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/atlas/sakai3/sling/solr
    • akamura/index/lucene-eae4305949e0adf474e258ed0705abfc-write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:84) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:730) at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:83) at org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:99) at org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:173) at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:220) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:139) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1359) at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:151) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:50) at org.sakaiproject.nakamura.solr.ContentEventListener.batchedEventRun(ContentEventListener.java:377) at org.sakaiproject.nakamura.solr.ContentEventListener.run(ContentEventListener.java:284) at java.lang.Thread.run(Thread.java:662)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago