Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-754

Failed to read Provenance Event File prevented startup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Received an error on startup that prevented the instance from starting.

      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]

      The file in question:

      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
      

      Journals

      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
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aldrin Aldrin Piri
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: