nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Witt <joe.w...@gmail.com>
Subject Re: nifi fail to start up
Date Fri, 15 Jan 2016 17:37:36 GMT
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> 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-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.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: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.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1517)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:314)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:962)
> ~[spring-context-4.1.6.RELEASE.jar:4.1.6.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.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1517)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:314)
> ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.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.
> ________________________________

Mime
View raw message