Created 09-11-2017 03:57 PM
My servers was auto reboot yesterday, and I cannot start Nifi. Any suggestion to solve this issue? Thanks
Andy
I got the following error:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: No enum constant org.wali.UpdateType. at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254) ~[na:na] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[na:na] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060) ~[na:na] at org.apache.nifi.spring.StandardFlowServiceFactoryBean.getObject(StandardFlowServiceFactoryBean.java:48) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[na:na] ... 33 common frames omitted Caused by: java.lang.IllegalArgumentException: No enum constant org.wali.UpdateType. at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_101] at org.wali.UpdateType.valueOf(UpdateType.java:24) ~[na:na] at org.apache.nifi.controller.state.StateMapSerDe.deserializeRecord(StateMapSerDe.java:76) ~[na:na] at org.apache.nifi.controller.state.StateMapSerDe.deserializeEdit(StateMapSerDe.java:69) ~[na:na] at org.apache.nifi.controller.state.StateMapSerDe.deserializeEdit(StateMapSerDe.java:30) ~[na:na] at org.wali.MinimalLockingWriteAheadLog$Partition.recoverNextTransaction(MinimalLockingWriteAheadLog.java:1072) ~[na:na] at org.wali.MinimalLockingWriteAheadLog.recoverFromEdits(MinimalLockingWriteAheadLog.java:459) ~[na:na] at org.wali.MinimalLockingWriteAheadLog.recoverRecords(MinimalLockingWriteAheadLog.java:301) ~[na:na] at org.apache.nifi.controller.state.providers.local.WriteAheadLocalStateProvider.init(WriteAheadLocalStateProvider.java:99) ~[na:na] at org.apache.nifi.controller.state.providers.AbstractStateProvider.initialize(AbstractStateProvider.java:34) ~[na:na] at org.apache.nifi.controller.state.manager.StandardStateManagerProvider.createStateProvider(StandardStateManagerProvider.java:189) ~[na:na] at org.apache.nifi.controller.state.manager.StandardStateManagerProvider.createLocalStateProvider(StandardStateManagerProvider.java:81) ~[na:na] at org.apache.nifi.controller.state.manager.StandardStateManagerProvider.create(StandardStateManagerProvider.java:67) ~[na:na] at org.apache.nifi.controller.FlowController.<init>(FlowController.java:469) ~[na:na] at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:375) ~[na:na] at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:74) ~[na:na] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[na:na] ... 40 common frames omitted 2017-09-11 10:21:10,334 INFO [Thread-2] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).
Created 09-21-2017 02:58 PM
The shutdown of the server without stopping NiFi first has caused corruption in the flowfile repository.
You'll have to remove the files from the flowfile and content repositories and then NiFi will restart.
Created 09-21-2017 02:58 PM
The shutdown of the server without stopping NiFi first has caused corruption in the flowfile repository.
You'll have to remove the files from the flowfile and content repositories and then NiFi will restart.
Created on 07-18-2024 08:49 PM - edited 07-18-2024 08:50 PM
This solution does not work:
Node 1: ok
node 2
bootstrap.log; Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Unable to initialize Flow because NiFi was configured to start an Embedded Zookeeper server but failed to do so
2024-07-18 23:15:49,164 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
nifi_app_log; Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Unable to initialize Flow because NiFi was configured to start an Embedded Zookeeper server but failed to do so
In node 3 dice
nifi_app_log dice ERROR [node-2/xxx.xx.x.x:3888] o.a.z.server.quorum.QuorumCnxManager As I'm leaving the listener thread after 3 errors. I won't be able to participate in leader election any longer: xxx.xx.x.x:3888. Use zookeeper.electionPortBindRetry property to increase retry count
bootstrap.log; no error
We went from version 1.11.4 to 1.16.3
I lift the cluster solo once, then restart it and I don't lift it but
Created 07-19-2024 01:33 PM
@Bern As this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks.
Regards,
Diana Torres,