Created 11-15-2016 09:45 PM
I am running MiNiFi 0.0.1 (Java) on a Raspberry Pi 2 Model B. Recently, the Raspberry was rebooted after a power outage but I could not bring up MiNiFi again. The log looks like this:
2016-11-15 17:36:48,918 WARN [main] o.a.n.p.MiNiFiPersistentProvenanceRepository Merging [provenance_repository/journals/1167037.journal.4, provenance_repository/journals/1167037.journal.11, provenance_repository/journals/1167037.journal.15, provenance_repository/journals/1167037.journal.8, provenance_repository/journals/1167037.journal.10, provenance_repository/journals/1167037.journal.2, provenance_repository/journals/1167037.journal.5, provenance_repository/journals/1167037.journal.13, provenance_repository/journals/1167037.journal.9, provenance_repository/journals/1167037.journal.14, provenance_repository/journals/1167037.journal.6, provenance_repository/journals/1167037.journal.7, provenance_repository/journals/1167037.journal.1, provenance_repository/journals/1167037.journal.12, provenance_repository/journals/1167037.journal.0, provenance_repository/journals/1167037.journal.3] to provenance_repository/1167037.prov 2016-11-15 17:36:49,261 WARN [main] org.apache.nifi.minifi.MiNiFiServer Failed to start minifi server... shutting down. java.lang.Exception: Unable to load flow due to: java.lang.RuntimeException: Unable to create Provenance Repository at org.apache.nifi.minifi.MiNiFiServer.start(MiNiFiServer.java:85) [minifi-framework-core-0.0.1.jar:0.0.1] at org.apache.nifi.minifi.MiNiFi.<init>(MiNiFi.java:134) [minifi-runtime-0.0.1.jar:0.0.1] at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:233) [minifi-runtime-0.0.1.jar:0.0.1] Caused by: java.lang.RuntimeException: Unable to create Provenance Repository at org.apache.nifi.controller.FlowController.<init>(FlowController.java:431) ~[nifi-framework-core-0.6.1.jar:0.6.1] at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:366) ~[nifi-framework-core-0.6.1.jar:0.6.1] at org.apache.nifi.minifi.MiNiFiServer.start(MiNiFiServer.java:61) [minifi-framework-core-0.0.1.jar:0.0.1] ... 2 common frames omitted Caused by: java.lang.IllegalArgumentException: No enum constant org.apache.nifi.provenance.ProvenanceEventType. at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_65] at org.apache.nifi.provenance.ProvenanceEventType.valueOf(ProvenanceEventType.java:19) ~[nifi-api-0.6.1.jar:0.6.1] at org.apache.nifi.provenance.StandardRecordReader.nextRecord(StandardRecordReader.java:284) ~[nifi-persistent-provenance-repository-0.6.1.jar:0.6.1] at org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository.mergeJournals(MiNiFiPersistentProvenanceRepository.java:1371) ~[na:na] at org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository.recoverJournalFiles(MiNiFiPersistentProvenanceRepository.java:1161) ~[na:na] at org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository.recover(MiNiFiPersistentProvenanceRepository.java:502) ~[na:na] at org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository.initi alize(MiNiFiPersistentProvenanceRepository.java:182) ~[na:na] at org.apache.nifi.controller.FlowController.<init>(FlowController.java: 427) ~[nifi-framework-core-0.6.1.jar:0.6.1] ... 4 common frames omitted 2016-11-15 17:36:49,270 INFO [Thread-1] org.apache.nifi.minifi.MiNiFi Initiating shutdown of MiNiFi server... 2016-11-15 17:36:49,272 WARN [Thread-1] org.apache.nifi.minifi.MiNiFiServer Prob lem occurred ensuring flow controller or repository was properly terminated due to java.lang.NullPointerException
What happened here? I am looking for ideas how to
Created 11-17-2016 06:11 PM
Apparently this is a known issue: https://issues.apache.org/jira/browse/NIFI-2890.
I deleted all files in provenance_repository/journals/ - after that MiNiFi started up fine.
Created 11-17-2016 06:11 PM
Apparently this is a known issue: https://issues.apache.org/jira/browse/NIFI-2890.
I deleted all files in provenance_repository/journals/ - after that MiNiFi started up fine.
Created 08-28-2024 02:14 PM
For me it was the config.yml which I was generated with some other name earlier, like - xxxx.yml , whereas it should be config.yml instead.
After that my minifi getting started normally. Hope it will help few.