nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chakrader Dewaragatla <Chakrader.Dewaraga...@lifelock.com>
Subject Re: nifi fail to start up
Date Fri, 15 Jan 2016 17:56:59 GMT
Mark - I see quite a few files and all has latest mtime .

Thanks,
Chakri

Sent from my iPhone

On Jan 15, 2016, at 9:49 AM, Mark Payne <markap14@hotmail.com<mailto:markap14@hotmail.com>>
wrote:

Chakri,

Thanks for the stack trace. I have created a ticket to address this: https://issues.apache.org/jira/browse/NIFI-1404

In the meantime, it appears that the bug is due to the fact that you have a Provenance Event
file that has no events,
and NiFi is not handling that well. You should be able to just delete that particular event
file (located in the configured
Provenance Repository directory). The file will end with ".prov" or ".prov.gz" and should
only be a couple of bytes.

Once that file is removed, you should be able to restart NIFi.

Thanks
-Mark


On Jan 15, 2016, at 12:38 PM, Chakrader Dewaragatla <Chakrader.Dewaragatla@lifelock.com<mailto:Chakrader.Dewaragatla@lifelock.com>>
wrote:

2016-01-15 17:31:13,595 INFO [main] o.a.n.p.PersistentProvenanceRepository
Created new Provenance Event Writers for events starting with ID 23842697
2016-01-15 17:31:13,612 WARN [main] org.eclipse.jetty.webapp.WebAppContext
Failed startup of context
o.e.j.w.WebAppContext@5fa2d0d3{/nifi-api,file:/opt/nifi/0.4.1/work/jetty/ni
fi-web-api-0.4.1.war/webapp/,STARTING}{./work/nar/framework/nifi-framework-
nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-api-0.4.1.war
}
org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.
 at
org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.conte
xtInitialized(ApplicationStartupContextListener.java:99) ~[na:na]
 at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(Cont
extHandler.java:800) ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(Serv
letContextHandler.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(ServletContext
Handler.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(ContainerLifeCycl
e.java:132) [jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCy
cle.java:114) [jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.ja
va: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(ContainerLifeCycl
e.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(ContainerLifeCy
cle.java:114) [jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.ja
va: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:663)
[nifi-jetty-0.4.1.jar:0.4.1]
 at org.apache.nifi.NiFi.<init>(NiFi.java:137)
[nifi-runtime-0.4.1.jar:0.4.1]
 at org.apache.nifi.NiFi.main(NiFi.java:227)
[nifi-runtime-0.4.1.jar:0.4.1]
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.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObj
ectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForB
eanInstance(AbstractBeanFactory.java:1517)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs
tractBeanFactory.java:314) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
actBeanFactory.java:199) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.context.support.AbstractApplicationContext.getBean(Abst
ractApplicationContext.java:962)
~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.conte
xtInitialized(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.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObj
ectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForB
eanInstance(AbstractBeanFactory.java:1517)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs
tractBeanFactory.java:314) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
actBeanFactory.java:199) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.context.support.AbstractApplicationContext.getBean(Abst
ractApplicationContext.java:962)
~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.apache.nifi.spring.StandardFlowServiceFactoryBean.getObject(StandardFlo
wServiceFactoryBean.java:53) ~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 ... 28 common frames omitted
Caused by: java.lang.RuntimeException: Unable to create Provenance
Repository
 at
org.apache.nifi.controller.FlowController.<init>(FlowController.java:417)
~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowCont
roller.java:352) ~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFa
ctoryBean.java:66) ~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 ... 35 common frames omitted
Caused by: java.lang.NullPointerException: null
 at
org.apache.nifi.provenance.PersistentProvenanceRepository.determineFirstEve
ntTimestamp(PersistentProvenanceRepository.java:1030) ~[na:na]
 at
org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(Persis
tentProvenanceRepository.java:272) ~[na:na]
 at
org.apache.nifi.controller.FlowController.<init>(FlowController.java:413)
~[nifi-framework-core-0.4.1.jar:0.4.1]
 ... 38 common frames omitted
2016-01-15 17:31:13,845 INFO [main]
o.e.jetty.server.handler.ContextHandler Started
o.e.j.w.WebAppContext@3556f201{/nifi-content-viewer,file:/opt/nifi/0.4.1/wo
rk/jetty/nifi-web-content-viewer-0.4.1.war/webapp/,AVAILABLE}{./work/nar/fr
amework/nifi-framework-nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies
/nifi-web-content-viewer-0.4.1.war}
2016-01-15 17:31:13,847 INFO [main]
o.e.jetty.server.handler.ContextHandler Started
o.e.j.s.h.ContextHandler@160c946f{/nifi-docs,null,AVAILABLE}
2016-01-15 17:31:13,885 INFO [main]
o.e.jetty.server.handler.ContextHandler Started
o.e.j.w.WebAppContext@13e50eb8{/nifi-docs,file:/opt/nifi/0.4.1/work/jetty/n
ifi-web-docs-0.4.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framewo
rk-nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-docs-0.4.1
.war}
2016-01-15 17:31:13,913 INFO [main]
o.e.jetty.server.handler.ContextHandler Started
o.e.j.w.WebAppContext@576b09e2{/,file:/opt/nifi/0.4.1/work/jetty/nifi-web-e
rror-0.4.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-0
.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-0.4.1.war}
2016-01-15 17:31:13,932 INFO [main]
org.eclipse.jetty.server.ServerConnector Started
ServerConnector@fcc6032{HTTP/1.1}{i-c894e249.dev.aws.lifelock.ad:8080}
2016-01-15 17:31:13,932 INFO [main] org.eclipse.jetty.server.Server
Started @21374ms
2016-01-15 17:31:13,939 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.conte
xtInitialized(ApplicationStartupContextListener.java:99) ~[na:na]
 at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(Cont
extHandler.java:800) ~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(Serv
letContextHandler.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(ServletContext
Handler.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(ContainerLifeCycl
e.java:132) ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCy
cle.java:114) ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.ja
va: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(ContainerLifeCycl
e.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(ContainerLifeCy
cle.java:114) ~[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.ja
va: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:663)
~[nifi-jetty-0.4.1.jar:0.4.1]
 at org.apache.nifi.NiFi.<init>(NiFi.java:137)
[nifi-runtime-0.4.1.jar:0.4.1]
 at org.apache.nifi.NiFi.main(NiFi.java:227)
[nifi-runtime-0.4.1.jar:0.4.1]
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.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObj
ectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForB
eanInstance(AbstractBeanFactory.java:1517)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs
tractBeanFactory.java:314) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
actBeanFactory.java:199) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.context.support.AbstractApplicationContext.getBean(Abst
ractApplicationContext.java:962)
~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.conte
xtInitialized(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.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObj
ectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForB
eanInstance(AbstractBeanFactory.java:1517)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs
tractBeanFactory.java:314) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
actBeanFactory.java:199) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.springframework.context.support.AbstractApplicationContext.getBean(Abst
ractApplicationContext.java:962)
~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at
org.apache.nifi.spring.StandardFlowServiceFactoryBean.getObject(StandardFlo
wServiceFactoryBean.java:53) ~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 ... 28 common frames omitted
Caused by: java.lang.RuntimeException: Unable to create Provenance
Repository
 at
org.apache.nifi.controller.FlowController.<init>(FlowController.java:417)
~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowCont
roller.java:352) ~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFa
ctoryBean.java:66) ~[nifi-framework-core-0.4.1.jar:0.4.1]
 at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 ... 35 common frames omitted
Caused by: java.lang.NullPointerException: null
 at
org.apache.nifi.provenance.PersistentProvenanceRepository.determineFirstEve
ntTimestamp(PersistentProvenanceRepository.java:1030) ~[na:na]
 at
org.apache.nifi.provenance.PersistentProvenanceRepository.initialize(Persis
tentProvenanceRepository.java:272) ~[na:na]
 at
org.apache.nifi.controller.FlowController.<init>(FlowController.java:413)
~[nifi-framework-core-0.4.1.jar:0.4.1]
 ... 38 common frames omitted
2016-01-15 17:31:13,945 INFO [Thread-2] org.apache.nifi.NiFi Initiating
shutdown of Jetty web server...
2016-01-15 17:31:13,951 INFO [Thread-2]
org.eclipse.jetty.server.ServerConnector Stopped
ServerConnector@fcc6032{HTTP/1.1}{i-c894e249.dev.aws.lifelock.ad:8080}
2016-01-15 17:31:13,957 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@576b09e2{/,file:/opt/nifi/0.4.1/work/jetty/nifi-web-e
rror-0.4.1.war/webapp/,UNAVAILABLE}{./work/nar/framework/nifi-framework-nar
-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-0.4.1.war}
2016-01-15 17:31:13,959 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@13e50eb8{/nifi-docs,file:/opt/nifi/0.4.1/work/jetty/n
ifi-web-docs-0.4.1.war/webapp/,UNAVAILABLE}{./work/nar/framework/nifi-frame
work-nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-docs-0.4
.1.war}
2016-01-15 17:31:13,961 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.s.h.ContextHandler@160c946f{/nifi-docs,null,UNAVAILABLE}
2016-01-15 17:31:13,962 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@3556f201{/nifi-content-viewer,file:/opt/nifi/0.4.1/wo
rk/jetty/nifi-web-content-viewer-0.4.1.war/webapp/,UNAVAILABLE}{./work/nar/
framework/nifi-framework-nar-0.4.1.nar-unpacked/META-INF/bundled-dependenci
es/nifi-web-content-viewer-0.4.1.war}
2016-01-15 17:31:13,964 INFO [Thread-2]
o.a.n.w.c.ApplicationStartupContextListener Initiating shutdown of flow
service...
2016-01-15 17:31:13,967 WARN [Thread-2]
o.a.n.w.c.ApplicationStartupContextListener Problem occurred ensuring flow
controller or repository was properly terminated due to
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:
java.nio.channels.OverlappingFileLockException
2016-01-15 17:31:13,967 INFO [Thread-2] /nifi-api Closing Spring root
WebApplicationContext
2016-01-15 17:31:14,055 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@5fa2d0d3{/nifi-api,file:/opt/nifi/0.4.1/work/jetty/ni
fi-web-api-0.4.1.war/webapp/,UNAVAILABLE}{./work/nar/framework/nifi-framewo
rk-nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-api-0.4.1.
war}
2016-01-15 17:31:14,070 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@4fa14406{/nifi,file:/opt/nifi/0.4.1/work/jetty/nifi-w
eb-ui-0.4.1.war/webapp/,UNAVAILABLE}{./work/nar/framework/nifi-framework-na
r-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-ui-0.4.1.war}
2016-01-15 17:31:14,096 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@453a7cca{/nifi-update-attribute-ui-0.4.1,file:/opt/ni
fi/0.4.1/work/jetty/nifi-update-attribute-ui-0.4.1.war/webapp/,UNAVAILABLE}
{./work/nar/extensions/nifi-update-attribute-nar-0.4.1.nar-unpacked/META-IN
F/bundled-dependencies/nifi-update-attribute-ui-0.4.1.war}
2016-01-15 17:31:14,100 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@627432d{/nifi-image-viewer-0.4.1,file:/opt/nifi/0.4.1
/work/jetty/nifi-image-viewer-0.4.1.war/webapp/,UNAVAILABLE}{./work/nar/ext
ensions/nifi-image-nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nif
i-image-viewer-0.4.1.war}
2016-01-15 17:31:14,101 INFO [Thread-2]
o.e.jetty.server.handler.ContextHandler Stopped
o.e.j.w.WebAppContext@3b84028d{/nifi-standard-content-viewer-0.4.1,file:/op
t/nifi/0.4.1/work/jetty/nifi-standard-content-viewer-0.4.1.war/webapp/,UNAV
AILABLE}{./work/nar/extensions/nifi-standard-nar-0.4.1.nar-unpacked/META-IN
F/bundled-dependencies/nifi-standard-content-viewer-0.4.1.war}
2016-01-15 17:31:14,105 INFO [Thread-2] org.apache.nifi.NiFi Jetty web
server shutdown completed (nicely or otherwise).



On 1/15/16, 9:37 AM, "Joe Witt" <joe.witt@gmail.com<mailto:joe.witt@gmail.com>>
wrote:

Chakri,

The most telling bits of the logs are probably below that.  Could
possibly attach the full nifi-app.log (assuming nothing sensitive is
in it) or search lower for the root cause of the exception.

Even if provenance data is corrupted the problematic sections should
be safely ignored so let's see a bit more about what is happening.

Thanks
Joe

On Fri, Jan 15, 2016 at 12:34 PM, Chakrader Dewaragatla
<Chakrader.Dewaragatla@lifelock.com<mailto:Chakrader.Dewaragatla@lifelock.com>>
wrote:
Hi ­ Nifi ran out memory and shutdown the service. When I try to start,
it
threw following exception. I tried to look for slate flow file, it do
not
apprear to exist. Can someone help me ?

Thanks,
-Chakri





2016-01-15 17:31:13,595 INFO [main]
o.a.n.p.PersistentProvenanceRepository
Created new Provenance Event Writers for events starting with ID
23842697
2016-01-15 17:31:13,612 WARN [main]
org.eclipse.jetty.webapp.WebAppContext
Failed startup of context

o.e.j.w.WebAppContext@5fa2d0d3{/nifi-api,file:/opt/nifi/0.4.1/work/jetty/
nifi-web-api-0.4.1.war/webapp/,STARTING}{./work/nar/framework/nifi-framew
ork-nar-0.4.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-api-0.4
.1.war}
org.apache.nifi.web.NiFiCoreException: Unable to start Flow Controller.
 at

org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.con
textInitialized(ApplicationStartupContextListener.java:99)
~[na:na]
 at

org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(Co
ntextHandler.java:800)
~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(Se
rvletContextHandler.java:444)
~[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandl
er.java:791)
~[jetty-server-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletConte
xtHandler.java:294)
~[jetty-servlet-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:134
9)
~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:13
42)
~[jetty-webapp-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.ja
va: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(AbstractLifeCycl
e.java:68)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCy
cle.java:132)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLife
Cycle.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(AbstractLifeCycl
e.java:68)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at

org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCy
cle.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(ContainerLife
Cycle.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(AbstractLifeCycl
e.java:68)
[jetty-util-9.2.11.v20150529.jar:9.2.11.v20150529]
 at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:663)
[nifi-jetty-0.4.1.jar:0.4.1]
 at org.apache.nifi.NiFi.<init>(NiFi.java:137)
[nifi-runtime-0.4.1.jar:0.4.1]
 at org.apache.nifi.NiFi.main(NiFi.java:227)
[nifi-runtime-0.4.1.jar:0.4.1]
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.doGe
tObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFo
rBeanInstance(AbstractBeanFactory.java:1517)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(A
bstractBeanFactory.java:314)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abs
tractBeanFactory.java:199)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.context.support.AbstractApplicationContext.getBean(Ab
stractApplicationContext.java:962)
~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.con
textInitialized(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.doGe
tObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getO
bjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFo
rBeanInstance(AbstractBeanFactory.java:1517)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(A
bstractBeanFactory.java:314)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
 at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abs
tractBeanFactory.java:199)
~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
________________________________
The information contained in this transmission may contain privileged
and
confidential information. It is intended only for the use of the
person(s)
named above. If you are not the intended recipient, you are hereby
notified
that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. If you are not the intended
recipient,
please contact the sender by reply email and destroy all copies of the
original message.
________________________________

________________________________
The information contained in this transmission may contain privileged and confidential information.
It is intended only for the use of the person(s) named above. If you are not the intended
recipient, you are hereby notified that any review, dissemination, distribution or duplication
of this communication is strictly prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original message.
________________________________

________________________________
The information contained in this transmission may contain privileged and confidential information.
It is intended only for the use of the person(s) named above. If you are not the intended
recipient, you are hereby notified that any review, dissemination, distribution or duplication
of this communication is strictly prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original message.
________________________________

Mime
View raw message