[ 
https://issues.apache.org/jira/browse/NIFI-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-2487:
------------------------------
    Fix Version/s:     (was: 1.1.0)

> Provenance Repository occasionally reporting that a prov file is "Not in GZIP 
> Format"
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-2487
>                 URL: https://issues.apache.org/jira/browse/NIFI-2487
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.0.0
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>
> I occasionally see the following stack trace in my logs:
> {code}
> 2016-08-04 16:24:06,653 ERROR [Timer-Driven Process Thread-11] 
> o.a.n.p.PersistentProvenanceRepository Failed to read Provenance Event File 
> /nifi/0/repos/prov/1/10585433663.prov.gz due to java.util.zip.ZipException: 
> Not in GZIP format
> 2016-08-04 16:24:06,668 ERROR [Timer-Driven Process Thread-11] 
> o.a.n.p.PersistentProvenanceRepository
> java.util.zip.ZipException: Not in GZIP format
>         at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165) 
> ~[na:1.8.0_91]
>         at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79) 
> ~[na:1.8.0_91]
>         at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91) 
> ~[na:1.8.0_91]
>         at 
> org.apache.nifi.provenance.StandardRecordReader.resetStreamForNextBlock(StandardRecordReader.java:151)
>  ~[nifi-persistent-provenance-repository-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.provenance.StandardRecordReader.isData(StandardRecordReader.java:438)
>  ~[nifi-persistent-provenance-repository-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.provenance.StandardRecordReader.nextRecord(StandardRecordReader.java:273)
>  ~[nifi-persistent-provenance-repository-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.provenance.PersistentProvenanceRepository.getEvents(PersistentProvenanceRepository.java:476)
>  [nifi-persistent-provenance-repository-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.provenance.PersistentProvenanceRepository.getEvents(PersistentProvenanceRepository.java:448)
>  [nifi-persistent-provenance-repository-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.controller.FlowController.getProvenanceEvents(FlowController.java:3984)
>  [nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.reporting.SiteToSiteProvenanceReportingTask.onTrigger(SiteToSiteProvenanceReportingTask.java:235)
>  [nifi-site-to-site-reporting-task-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> org.apache.nifi.controller.tasks.ReportingTaskWrapper.run(ReportingTaskWrapper.java:41)
>  [nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [na:1.8.0_91]
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
> [na:1.8.0_91]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>  [na:1.8.0_91]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>  [na:1.8.0_91]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [na:1.8.0_91]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [na:1.8.0_91]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to