[ 
https://issues.apache.org/jira/browse/NIFI-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624227#comment-14624227
 ] 

Aldrin Piri commented on NIFI-754:
----------------------------------

This seems to be specifically tailored to the ARM version of OpenJDK 7.  The 
issue at play is that the JDK does not play well with Lucene and causes a JVM 
crash, which puts the environment in a bad state.  Doubt there is value in the 
cycles attempting to fix this or and speculate that a fix is not even feasible 
given the specific environment.  Oracle's provided ARM arch worked without 
issue. 

> Failed to read Provenance Event File prevented startup
> ------------------------------------------------------
>
>                 Key: NIFI-754
>                 URL: https://issues.apache.org/jira/browse/NIFI-754
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Aldrin Piri
>
> Received an error on startup that prevented the instance from starting. 
> {quote}
> 2015-07-10 12:12:47,143 ERROR [main] o.a.n.p.PersistentProvenanceRepository 
> Failed to read Provenance Event File ./provenance_repository/0.prov.gz due to 
> {}
> java.io.EOFException: Unexpected end of ZLIB input stream
>       at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) 
> ~[na:1.7.0_79]
>       at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) 
> ~[na:1.7.0_79]
>       at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116) 
> ~[na:1.7.0_79]
>       at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) 
> ~[na:1.7.0_79]
>       at java.io.BufferedInputStream.read(BufferedInputStream.java:254) 
> ~[na:1.7.0_79]
>       at 
> org.apache.nifi.stream.io.ByteCountingInputStream.read(ByteCountingInputStream.java:41)
>  ~[nifi-utils-0.2.0-incubating.jar:0.2.0-incubating]
>       at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337) 
> ~[na:1.7.0_79]
> {quote}
> The file in question:
> {code}
> pi@raspberrypi ~/nifi-0.2.0-incubating/provenance_repository $ ls -lah
> total 24K
> drwxr-xr-x  5 pi pi 4.0K Jul 10 12:09 .
> drwxr-xr-x 12 pi pi 4.0K Jul 10 12:12 ..
> -rw-r--r--  1 pi pi  10 Jul 10 12:16 0.prov.gz
> drwxr-xr-x  2 pi pi 4.0K Jul 10 12:16 index-1436541661911
> drwxr-xr-x  2 pi pi 4.0K Jul 10 12:09 journals
> drwxr-xr-x  2 pi pi 4.0K Jul 10 11:21 toc
> {code}
> Journals
> {code}
> pi@raspberrypi ~/nifi-0.2.0-incubating/provenance_repository $ ls -lah 
> journals/
> total 136K
> drwxr-xr-x 2 pi pi 4.0K Jul 10 12:09 .
> drwxr-xr-x 5 pi pi 4.0K Jul 10 12:09 ..
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.0
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.1
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.10
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.11
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.12
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.13
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.14
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.15
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.2
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.3
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.4
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.5
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 0.journal.6
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.7
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.8
> -rw-r--r-- 1 pi pi   63 Jul 10 11:39 0.journal.9
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.0
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.1
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.10
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.11
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.12
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.13
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.14
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.15
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.2
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.3
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.4
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.5
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.6
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 7.journal.7
> -rw-r--r-- 1 pi pi  362 Jul 10 12:09 7.journal.8
> -rw-r--r-- 1 pi pi   63 Jul 10 12:09 7.journal.9
> {code}



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

Reply via email to