You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/10/27 20:13:27 UTC
[jira] [Created] (NIFI-1076) Provenance Repository will sometimes
spew error messages about ZLIB End-of-File messages on restart
Mark Payne created NIFI-1076:
--------------------------------
Summary: Provenance Repository will sometimes spew error messages about ZLIB End-of-File messages on restart
Key: NIFI-1076
URL: https://issues.apache.org/jira/browse/NIFI-1076
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Reporter: Mark Payne
Priority: Minor
We see the following error message sometimes on restart of NiFi. This seems to be due to the fact that the file was created but had no data written to it.
This shouldn't really hurt anything, as there is no data in the file. The file could simply be ignored. It is probably best to change the ERROR message to a WARN or even an INFO message, though, and indicate that the file had no data and so is being skipped.
2015-10-27 12:33:36,905 ERROR [main] o.a.n.p.PersistentProvenanceRepository Failed to read Provenance Event File ./provenance_repository/43401826.prov.gz due to {}
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) ~[na:1.8.0_60]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[na:1.8.0_60]
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117) ~[na:1.8.0_60]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[na:1.8.0_60]
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[na:1.8.0_60]
at org.apache.nifi.stream.io.ByteCountingInputStream.read(ByteCountingInputStream.java:41) ~[nifi-utils-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337) ~[na:1.8.0_60]
at java.io.DataInputStream.readUTF(DataInputStream.java:589) ~[na:1.8.0_60]
at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[na:1.8.0_60]
at org.apache.nifi.provenance.StandardRecordReader.<init>(StandardRecordReader.java:91) ~[nifi-persistent-provenance-repository-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.apache.nifi.provenance.serialization.RecordReaders.newRecordReader(RecordReaders.java:106) ~[nifi-persistent-provenance-repository-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.apache.nifi.provenance.PersistentProvenanceRepository.recover(PersistentProvenanceRepository.java:548) [nifi-persistent-provenance-repository-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(PersistentProvenanceRepository.java:219) [nifi-persistent-provenance-repository-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.apache.nifi.controller.FlowController.<init>(FlowController.java:406) [nifi-framework-core-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:349) [nifi-framework-core-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:63) [nifi-framework-core-0.3.1-SNAPSHOT.jar:0.3.1-SNAPSHOT]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)