Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

nifi provenance CorruptIndexException

Highlighted

nifi provenance CorruptIndexException

New Contributor

Hi i restarted my nifi cluster on openshift and it gives the follwing provinance repo error in the logs



"logtype":"app","level":"ERROR","thread_name":"Lucene Merge Thread #175","logger_name":"org.apache.nifi.NiFi","message":"","stack_hash":"7ab61217","throwable_class":"MergeException","throwable_root_cause_class":"CorruptIndexException","stack_trace":"org.apache.lucene.index.MergePolicy$MergeException: org.apache.lucene.index.CorruptIndexException: Invalid fieldsStream maxPointer (file truncated?): maxPointer=212, length=0\n\tat org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:549)\n\tat org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:522)\nCaused by: org.apache.lucene.index.CorruptIndexException: Invalid fieldsStream maxPointer (file truncated?): maxPointer=212, length=0\n\tat org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.<init>(CompressingStoredFieldsReader.java:135)\n\tat org.apache.lucene.codecs.compressing.CompressingStoredFieldsFormat.fieldsReader(CompressingStoredFieldsFormat.java:113)\n\tat org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:133)\n\tat org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:108)\n\tat org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)\n\tat org.apache.lucene.index.BufferedUpdatesStream.applyDeletesAndUpdates(BufferedUpdatesStream.java:282)\n\tat org.apache.lucene.index.IndexWriter._mergeInit(IndexWriter.java:3987)\n\tat org.apache.lucene.index.IndexWriter.mergeInit(IndexWriter.java:3949)\n\tat org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3802)\n\tat org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:409)\n\tat org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:486)\n"}

{"@timestamp":"2019-08-08T15:44:51.713","logtype":"app","level":"ERROR","thread_name":"Lucene Merge Thread #176","logger_name":"org.apache.nifi.NiFi","message":"An Unknown Error Occurred in Thread Thread[Lucene Merge Thread #176,7,main]: org.apache.lucene.index.MergePolicy$MergeException: java.io.EOFException: read past EOF: MMapIndexInput(path=\"/opt/nifi/provenance_repository/index-1557989700930/_qes.cfs\") [slice=_qes.fdx]"}
Don't have an account?
Coming from Hortonworks? Activate your account here