nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfzeidan <mark.zei...@cleverspeck.com>
Subject Re: Nifi failing to load - Unable to start flow controller?
Date Fri, 29 Apr 2016 11:38:25 GMT
Here is the error coming from the FlowController:

org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.
	at
org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:99)
~[na:na]
	at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
~[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
~[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at org.eclipse.jetty.server.Server.start(Server.java:387)
[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at org.eclipse.jetty.server.Server.doStart(Server.java:354)
[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
	at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
	at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:662)
[nifi-jetty-0.6.0.jar:0.6.0]
	at org.apache.nifi.NiFi.<init>(NiFi.java:137)
[nifi-runtime-0.6.0.jar:0.6.0]
	at org.apache.nifi.NiFi.main(NiFi.java:227) [nifi-runtime-0.6.0.jar:0.6.0]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'flowService': FactoryBean threw exception on object
creation; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'flowController': FactoryBean threw exception on object creation;
nested exception is java.lang.RuntimeException: Unable to create Provenance
Repository
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060)
~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:64)
~[na:na]
	... 22 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'flowController': FactoryBean threw exception on
object creation; nested exception is java.lang.RuntimeException: Unable to
create Provenance Repository
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060)
~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at
org.apache.nifi.spring.StandardFlowServiceFactoryBean.getObject(StandardFlowServiceFactoryBean.java:53)
~[nifi-framework-core-0.6.0.jar:0.6.0]
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	... 28 common frames omitted
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.0.jar:0.6.0]
	at
org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:366)
~[nifi-framework-core-0.6.0.jar:0.6.0]
	at
org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:66)
~[nifi-framework-core-0.6.0.jar:0.6.0]
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	... 35 common frames omitted
Caused by: java.lang.IllegalArgumentException: Unable to deserialize record
because the version is 0 and supported versions are 1-8
	at
org.apache.nifi.provenance.StandardRecordReader.<init>(StandardRecordReader.java:96)
~[na:na]
	at
org.apache.nifi.provenance.StandardRecordReader.<init>(StandardRecordReader.java:58)
~[na:na]
	at
org.apache.nifi.provenance.serialization.RecordReaders.newRecordReader(RecordReaders.java:108)
~[na:na]
	at
org.apache.nifi.provenance.PersistentProvenanceRepository.mergeJournals(PersistentProvenanceRepository.java:1529)
~[na:na]
	at
org.apache.nifi.provenance.PersistentProvenanceRepository.recoverJournalFiles(PersistentProvenanceRepository.java:1389)
~[na:na]
	at
org.apache.nifi.provenance.PersistentProvenanceRepository.recover(PersistentProvenanceRepository.java:578)
~[na:na]
	at
org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(PersistentProvenanceRepository.java:219)
~[na:na]
	at
org.apache.nifi.controller.FlowController.<init>(FlowController.java:427)
~[nifi-framework-core-0.6.0.jar:0.6.0]
	... 38 common frames omitted
2016-04-29 08:30:23,274 INFO [main] o.e.jetty.server.handler.ContextHandler
Started
o.e.j.w.WebAppContext@2336d3f{/nifi-content-viewer,file:/C:/nifi/work/jetty/nifi-web-content-viewer-0.6.0.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-0.6.0.nar-unpacked\META-INF\bundled-dependencies\nifi-web-content-viewer-0.6.0.war}
2016-04-29 08:30:23,275 INFO [main] o.e.jetty.server.handler.ContextHandler
Started o.e.j.s.h.ContextHandler@750457a5{/nifi-docs,null,AVAILABLE}
2016-04-29 08:30:23,419 INFO [main] o.e.jetty.server.handler.ContextHandler
Started
o.e.j.w.WebAppContext@6c4786af{/nifi-docs,file:/C:/nifi/work/jetty/nifi-web-docs-0.6.0.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-0.6.0.nar-unpacked\META-INF\bundled-dependencies\nifi-web-docs-0.6.0.war}
2016-04-29 08:30:23,478 INFO [main] o.e.jetty.server.handler.ContextHandler
Started
o.e.j.w.WebAppContext@4cefa0be{/,file:/C:/nifi/work/jetty/nifi-web-error-0.6.0.war/webapp/,AVAILABLE}{.\work\nar\framework\nifi-framework-nar-0.6.0.nar-unpacked\META-INF\bundled-dependencies\nifi-web-error-0.6.0.war}
2016-04-29 08:30:23,495 INFO [main] org.eclipse.jetty.server.ServerConnector
Started ServerConnector@1ee6434{HTTP/1.1}{0.0.0.0:9090}
2016-04-29 08:30:23,496 INFO [main] org.eclipse.jetty.server.Server Started
@21637ms
2016-04-29 08:30:23,502 WARN [main] org.apache.nifi.web.server.JettyServer
Failed to start web server... shutting down.



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-failing-to-load-Unable-to-start-flow-controller-tp9711p9716.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Mime
View raw message