Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-01-2016 02:41 PM
aused by: java.lang.IllegalArgumentException: No enum constant org.wali.UpdateType. at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_91] at org.wali.UpdateType.valueOf(UpdateType.java:24) ~[nifi-write-ahead-log-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.StateMapSerDe.deserializeRecord(StateMapSerDe.java:76) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.StateMapSerDe.deserializeEdit(StateMapSerDe.java:69) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.StateMapSerDe.deserializeEdit(StateMapSerDe.java:30) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.wali.MinimalLockingWriteAheadLog$Partition.recoverNextTransaction(MinimalLockingWriteAheadLog.java:1028) ~[nifi-write-ahead-log-1.0.0-BETA.jar:1.0.0-BETA] at org.wali.MinimalLockingWriteAheadLog.recoverFromEdits(MinimalLockingWriteAheadLog.java:448) ~[nifi-write-ahead-log-1.0.0-BETA.jar:1.0.0-BETA] at org.wali.MinimalLockingWriteAheadLog.recoverRecords(MinimalLockingWriteAheadLog.java:293) ~[nifi-write-ahead-log-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.providers.local.WriteAheadLocalStateProvider.init(WriteAheadLocalStateProvider.java:99) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.providers.AbstractStateProvider.initialize(AbstractStateProvider.java:34) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.manager.StandardStateManagerProvider.createStateProvider(StandardStateManagerProvider.java:189) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.manager.StandardStateManagerProvider.createLocalStateProvider(StandardStateManagerProvider.java:81) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.state.manager.StandardStateManagerProvider.create(StandardStateManagerProvider.java:67) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.FlowController.<init>(FlowController.java:470) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:381) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:74) ~[nifi-framework-core-1.0.0-BETA.jar:1.0.0-BETA] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE] ... 36 common frames omitted 2016-09-01 14:46:23,006 INFO [main] /nifi-content-viewer No Spring WebApplicationInitializer types detected on classpath 2016-09-01 14:46:23,024 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@3f465ae{/nifi-content-viewer,file:///opt/nifi-1.0.0-BETA/work/jetty/nifi-web-content-viewer-1.0.0-BETA.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.0.0-BETA.nar-unpacked/META-INF/bundled-dependencies/nifi-web-content-viewer-1.0.0-BETA.war} 2016-09-01 14:46:23,025 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.s.h.ContextHandler@55731ccd{/nifi-docs,null,AVAILABLE} 2016-09-01 14:46:23,070 INFO [main] /nifi-docs No Spring WebApplicationInitializer types detected on classpath 2016-09-01 14:46:23,089 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@750adad8{/nifi-docs,file:///opt/nifi-1.0.0-BETA/work/jetty/nifi-web-docs-1.0.0-BETA.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.0.0-BETA.nar-unpacked/META-INF/bundled-dependencies/nifi-web-docs-1.0.0-BETA.war} 2016-09-01 14:46:23,146 INFO [main] / No Spring WebApplicationInitializer types detected on classpath 2016-09-01 14:46:23,148 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@3fed0c04{/,file:///opt/nifi-1.0.0-BETA/work/jetty/nifi-web-error-1.0.0-BETA.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.0.0-BETA.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.0.0-BETA.war} 2016-09-01 14:46:23,186 INFO [main] o.eclipse.jetty.server.AbstractConnector Started ServerConnector@48224381{HTTP/1.1,[http/1.1]}{0.0.0.0:8090} 2016-09-01 14:46:23,187 INFO [main] org.eclipse.jetty.server.Server Started @56596ms 2016-09-01 14:46:23,190 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller. at org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:93) ~[na:na] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:837) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:810) ~[jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345) ~[jetty-servlet-9.3.9.v20160517.jar:9.3.9.v2016051
Created 09-01-2016 06:15 PM
That class is part of the write-ahead log stuff in nifi-commons. I think there was a recent update to its structure. Now that Apache NiFi 1.0.0 has been released, you should use that instead of the 1.0.0-BETA (which i see in your logs is the version you're on)
Created 09-01-2016 06:15 PM
That class is part of the write-ahead log stuff in nifi-commons. I think there was a recent update to its structure. Now that Apache NiFi 1.0.0 has been released, you should use that instead of the 1.0.0-BETA (which i see in your logs is the version you're on)
Created 09-01-2016 07:44 PM
thanks, i just downloaded the official 1.0.0 and will try that.