You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "AmitC15 (JIRA)" <ji...@apache.org> on 2018/05/09 07:20:00 UTC

[jira] [Created] (NIFI-5177) Failed to merge Journal Files leads to LockObtainFailedException: Lock obtain timed out exception

AmitC15 created NIFI-5177:
-----------------------------

             Summary: Failed to merge Journal Files leads to LockObtainFailedException: Lock obtain timed out exception
                 Key: NIFI-5177
                 URL: https://issues.apache.org/jira/browse/NIFI-5177
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.5.0
            Reporter: AmitC15


NiFI version: 1.5

Cluster setup +  external zookeeper on each one of them.

Log: 

[ Date ] 2018-05-08 15:53:12,193 [ Priority ] ERROR [ Text 3 ] [Provenance Repository Rollover Thread-1] o.a.n.p.PersistentProvenanceRepository org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: [NativeFSLock@/nifi/nifi-1.5.0/provenance_repository/index-1524294029000/write.lock|mailto:NativeFSLock@/nifi/nifi-1.5.0/provenance_repository/index-1524294029000/write.lock] at org.apache.lucene.store.Lock.obtain(Lock.java:89) at org.apache.lucene.index.IndexWriter.(IndexWriter.java:755) at org.apache.nifi.provenance.lucene.SimpleIndexManager.createWriter(SimpleIndexManager.java:198) at org.apache.nifi.provenance.lucene.SimpleIndexManager.borrowIndexWriter(SimpleIndexManager.java:227) at org.apache.nifi.provenance.PersistentProvenanceRepository.mergeJournals(PersistentProvenanceRepository.java:1712) at org.apache.nifi.provenance.PersistentProvenanceRepository$8.run(PersistentProvenanceRepository.java:1300) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) (Log Path:NIFI > NJ-Nifi02-PRD - nifi-app.log ,Host: NJ-Nifi02-PRD ,Apps: [nifi])

 

 

After effects:   specific node disconnects from cluster (requires restart),   UI not accessible from all nodes.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)