I'm trying to recover from a crash where some data was lost from the
content_repository.  Any advice on getting past this particular error?  I
checked and sure enough, there's no enum constant called
UpdateType.CONTENTMISSING in the NiFi 1.3.0 code (not sure how that value
got in there in the first place).

java.lang.Exception: Unable to load flow due to: java.io.IOException:
org.apache.nifi.cluster.ConnectionException: Failed to connect node to
cluster due to: java.lang.IllegalArgumentException: No enum constant
org.wali.UpdateType.CONTENTMISSING
        at
org.apache.nifi.web.server.JettyServer.start(JettyServer.java:809)
        at org.apache.nifi.NiFi.<init>(NiFi.java:160)
        at org.apache.nifi.NiFi.main(NiFi.java:267)
Caused by: java.io.IOException:
org.apache.nifi.cluster.ConnectionException: Failed to connect node to
cluster due to: java.lang.IllegalArgumentException: No enum constant
org.wali.UpdateType.CONTENTMISSING
        at
org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:519)
        at
org.apache.nifi.web.server.JettyServer.start(JettyServer.java:800)
        ... 2 common frames omitted
Caused by: org.apache.nifi.cluster.ConnectionException: Failed to connect
node to cluster due to: java.lang.IllegalArgumentException: No enum
constant org.wali.UpdateType.CONTENTMISSING
        at
org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:945)
        at
org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:515)
        ... 3 common frames omitted
Caused by: java.lang.IllegalArgumentException: No enum constant
org.wali.UpdateType.CONTENTMISSING
        at java.lang.Enum.valueOf(Enum.java:238)
        at org.wali.UpdateType.valueOf(UpdateType.java:24)
        at
org.apache.nifi.controller.repository.SchemaRepositoryRecordSerde.deserializeRecord(SchemaRepositoryRecordSerde.java:126)
        at
org.apache.nifi.controller.repository.SchemaRepositoryRecordSerde.deserializeEdit(SchemaRepositoryRecordSerde.java:109)
        at
org.apache.nifi.controller.repository.SchemaRepositoryRecordSerde.deserializeEdit(SchemaRepositoryRecordSerde.java:46)
        at
org.wali.MinimalLockingWriteAheadLog$Partition.recoverNextTransaction(MinimalLockingWriteAheadLog.java:1096)
        at
org.wali.MinimalLockingWriteAheadLog.recoverFromEdits(MinimalLockingWriteAheadLog.java:459)
        at
org.wali.MinimalLockingWriteAheadLog.recoverRecords(MinimalLockingWriteAheadLog.java:301)
        at
org.apache.nifi.controller.repository.WriteAheadFlowFileRepository.loadFlowFiles(WriteAheadFlowFileRepository.java:381)
        at
org.apache.nifi.controller.FlowController.initializeFlow(FlowController.java:713)
        at
org.apache.nifi.controller.StandardFlowService.initializeController(StandardFlowService.java:955)
        at
org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:927)
        ... 4 common frames omitted
2017-06-20 15:27:25,324 INFO [Thread-1] org.apache.nifi.NiFi Initiating
shutdown of Jetty web server...


-- 
I know what it is to be in need, and I know what it is to have plenty.  I
have learned the secret of being content in any and every situation,
whether well fed or hungry, whether living in plenty or in want.  I can do
all this through him who gives me strength.    *-Philippians 4:12-13*

Reply via email to