Chad,

In your conf/nifi.properties please see what the implementation is for your
provenance repository. This specied on

nifi.provenance.repository.implementation=org.apache.nifi.provenance.WriteAheadProvenanceRepository

Is that what you have?

The above error I believe could occur if the location where provenance is
being written runs out of disk space.  It is important to ensure that prov
is sized and on a partition alone where this wont happen.  This is also
true for the flow file repo.  The content repo is more resilient to this by
design but still you want all three repo areas on their own partitions as
per best practices.

Thanks
Joe

On Wed, Feb 13, 2019 at 1:03 PM Chad Woodhead <[email protected]>
wrote:

> I use the org.apache.nifi.provenance.WriteAheadProvenanceRepository and I
> am seeing the following error in my logs a lot and I can't view any
> provenance data in the UI:
>
> 2019-02-13 12:57:44,637 ERROR [Compress Provenance Logs-1-thread-1]
> o.a.n.p.s.EventFileCompressor Failed to read TOC File
> /data/disk5/nifi/provenance_repository/toc/158994812.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:745)
>
> Any ideas on what could be going on?
>
> -Chad
>

Reply via email to