You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David A. Wynne (JIRA)" <ji...@apache.org> on 2017/07/27 13:00:04 UTC
[jira] [Commented] (NIFI-4077)
o.a.n.p.index.lucene.LuceneEventIndex Failed to retrieve Provenance Events
from store
[ https://issues.apache.org/jira/browse/NIFI-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103177#comment-16103177 ]
David A. Wynne commented on NIFI-4077:
--------------------------------------
I am seeing the same issue
2017-07-26 12:00:10,753 ERROR [Provenance Query-2] o.a.n.provenance.index.lucene.QueryTask Failed to query events against index /usr/hdp/provenance_repository/index-1500466113184
org.apache.nifi.provenance.index.SearchFailedException: Unable to retrieve events from the Provenance Store
at org.apache.nifi.provenance.index.lucene.QueryTask.readDocuments(QueryTask.java:198)
at org.apache.nifi.provenance.index.lucene.QueryTask.run(QueryTask.java:149)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: Unable to locate file /usr/hdp/provenance_repository/11495395.prov
at org.apache.nifi.provenance.serialization.RecordReaders.newRecordReader(RecordReaders.java:119)
at org.apache.nifi.provenance.WriteAheadProvenanceRepository.lambda$initialize$1(WriteAheadProvenanceRepository.java:125)
at org.apache.nifi.provenance.store.iterator.SelectiveRecordReaderEventIterator.nextEvent(SelectiveRecordReaderEventIterator.java:137)
at org.apache.nifi.provenance.store.iterator.AuthorizingEventIterator.nextEvent(AuthorizingEventIterator.java:47)
at org.apache.nifi.provenance.store.PartitionedEventStore.getEvents(PartitionedEventStore.java:192)
at org.apache.nifi.provenance.store.PartitionedEventStore.getEvents(PartitionedEventStore.java:167)
at org.apache.nifi.provenance.index.lucene.QueryTask.readDocuments(QueryTask.java:196)
... 6 common frames omitted
> o.a.n.p.index.lucene.LuceneEventIndex Failed to retrieve Provenance Events from store
> -------------------------------------------------------------------------------------
>
> Key: NIFI-4077
> URL: https://issues.apache.org/jira/browse/NIFI-4077
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Joseph Gresock
>
> I get this error when trying to display Data Provenance on a 4-node cluster:
> 2017-06-15 18:28:23,945 ERROR [Provenance Query-2] o.a.n.p.index.lucene.LuceneEventIndex Failed to retrieve Provenance Events from store
> java.io.FileNotFoundException: Unable to locate file /data/nifi/provenance_repository/85309321.prov
> at org.apache.nifi.provenance.serialization.RecordReaders.newRecordReader(RecordReaders.java:119)
> at org.apache.nifi.provenance.WriteAheadProvenanceRepository.lambda$initialize$46(WriteAheadProvenanceRepository.java:125)
> at org.apache.nifi.provenance.store.iterator.SelectiveRecordReaderEventIterator.nextEvent(SelectiveRecordReaderEventIterator.java:137)
> at org.apache.nifi.provenance.store.iterator.AuthorizingEventIterator.nextEvent(AuthorizingEventIterator.java:47)
> at org.apache.nifi.provenance.store.PartitionedEventStore.getEvents(PartitionedEventStore.java:192)
> at org.apache.nifi.provenance.store.PartitionedEventStore.getEvents(PartitionedEventStore.java:167)
> at org.apache.nifi.provenance.index.lucene.LuceneEventIndex.lambda$submitQuery$58(LuceneEventIndex.java:442)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:748)
> I don't know if this is related, but I also see this error in the same logs:
> 2017-06-15 18:28:42,923 ERROR [Compress Provenance Logs-1-thread-1] o.a.n.p.s.EventFileCompressor Failed to read TOC File /data/nifi/provenance_repository/toc/87247412.toc
> java.io.EOFException: null
> at org.apache.nifi.provenance.toc.StandardTocReader.<init>(StandardTocReader.java:48)
> at org.apache.nifi.provenance.serialization.EventFileCompressor.run(EventFileCompressor.java:93)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:748)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)