<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi startup error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129078#M55709</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12547/jstorck.html" nodeid="12547"&gt;@Jeff Storck&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Had the same issue and got the nifi running by just deleting my custom processor. I generate the nar using Maven in IntelliJ and then just move said nar to the lib directory. Downloaded the 1.3.0 sources yesterday and before that I wasn't having any issues with custom processors in 1.2.0, not sure what or where the work directory you're referring to is. I am running Arch and there is no nifi folder in /var/lib.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 15:36:27 GMT</pubDate>
    <dc:creator>ion</dc:creator>
    <dc:date>2017-07-11T15:36:27Z</dc:date>
    <item>
      <title>NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129071#M55702</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;My NiFi instance on my local machine is not starting and I'm seeing the following error in nifi-app.log. Any ideas on what could be wrong; it was working fine before; I'm not sure if this caused any issue, but I remember copying the Hive nar file, nifi-hive-nar-1.1.0, into the lib folder the last time and it did startup with no issues; now, even if I remove that nar file, it does not start.&lt;/P&gt;&lt;P&gt;Any ideas on what's wrong and how to resolve this.&lt;/P&gt;&lt;PRE&gt;2017-02-27 13:31:53,763 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.util.ServiceConfigurationError: org.apache.nifi.controller.status.history.ComponentStatusRepository: Provider org.apache.nifi.controller.status.history.VolatileComponentStatusRepository could not be instantiated
java.util.ServiceConfigurationError: org.apache.nifi.controller.status.history.ComponentStatusRepository: Provider org.apache.nifi.controller.status.history.VolatileComponentStatusRepository could not be instantiated
	at java.util.ServiceLoader.fail(ServiceLoader.java:232) ~[na:1.8.0_112]
	at java.util.ServiceLoader.access$100(ServiceLoader.java:185) ~[na:1.8.0_112]
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) ~[na:1.8.0_112]
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[na:1.8.0_112]
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[na:1.8.0_112]
	at org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:116) ~[nifi-nar-utils-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
	at org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:97) ~[nifi-nar-utils-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
	at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:139) ~[nifi-runtime-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
	at org.apache.nifi.NiFi.main(NiFi.java:262) ~[nifi-runtime-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
Caused by: java.lang.NoClassDefFoundError: org/apache/nifi/util/RingBuffer$ForEachEvaluator
	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_112]
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[na:1.8.0_112]
	at java.lang.Class.getConstructor0(Class.java:3075) ~[na:1.8.0_112]
	at java.lang.Class.newInstance(Class.java:412) ~[na:1.8.0_112]
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ~[na:1.8.0_112]
	... 6 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.apache.nifi.util.RingBuffer$ForEachEvaluator
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_112]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_112]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_112]
	... 11 common frames omitted



&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Feb 2017 03:48:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129071#M55702</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-02-28T03:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129072#M55703</link>
      <description>&lt;P&gt;What version of NiFi and Java are you running with?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 04:13:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129072#M55703</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2017-02-28T04:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129073#M55704</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; NiFi - 1.1.0.2 , Java -1.8&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 05:06:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129073#M55704</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-02-28T05:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129074#M55705</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10100/rbolla.html" nodeid="10100"&gt;@Raj B&lt;/A&gt;&lt;P&gt;Most likely, the nifi-hive-nar-1.1.0.nar file you placed in the lib directory was unpacked to the work directory, in which case, it will need to be removed.  Removing the NAR from the lib directory is one step of the cleanup.  You could try renaming the work directory to something else, and restarting NiFi, to see if that resolves your issue, provided the lib directory is clean, i.e. containing only the default libraries from the install.  You'd have to do this on each node that runs NiFi.  When NiFi restarts, it will unpack all the NARs to the work directory again.&lt;/P&gt;&lt;P&gt;If you're running NiFi in HDF, installed by Ambari, that working directory should be located at /var/lib/nifi/work by default.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 03:12:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129074#M55705</guid>
      <dc:creator>jts</dc:creator>
      <dc:date>2017-03-01T03:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129075#M55706</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/12547/jstorck.html" nodeid="12547"&gt;@Jeff Storck&lt;/A&gt;, I removed the hive nar file from the working directory (in my local install it was at ./work/nar/extensions/) and ensured that it was not in the lib directory, but still I couldn't start NiFi. In the log I still the same error as before.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 09:51:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129075#M55706</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-03-01T09:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129076#M55707</link>
      <description>&lt;P&gt;In your NiFi install, can you try renaming the work directory to something else, such as work-backup, and restart NiFi?  Also, have you changed or replaced any of the other jars or nars in the lib dir?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:46:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129076#M55707</guid>
      <dc:creator>jts</dc:creator>
      <dc:date>2017-03-01T11:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129077#M55708</link>
      <description>&lt;P&gt;Awesome, &lt;A rel="user" href="https://community.cloudera.com/users/12547/jstorck.html" nodeid="12547"&gt;@Jeff Storck&lt;/A&gt;, that did the trick. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 22:06:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129077#M55708</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-03-01T22:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129078#M55709</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12547/jstorck.html" nodeid="12547"&gt;@Jeff Storck&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Had the same issue and got the nifi running by just deleting my custom processor. I generate the nar using Maven in IntelliJ and then just move said nar to the lib directory. Downloaded the 1.3.0 sources yesterday and before that I wasn't having any issues with custom processors in 1.2.0, not sure what or where the work directory you're referring to is. I am running Arch and there is no nifi folder in /var/lib.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:36:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129078#M55709</guid>
      <dc:creator>ion</dc:creator>
      <dc:date>2017-07-11T15:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129079#M55710</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/22156/ion.html" nodeid="22156"&gt;@Ian Neethling&lt;/A&gt;&lt;P&gt;Could you provide a bit more about how you've installed NiFi?  Are you running HDF, or just NiFi by itself?  Did you install from an RPM, or did you install from a tar/gzip?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 01:47:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129079#M55710</guid>
      <dc:creator>jts</dc:creator>
      <dc:date>2017-07-12T01:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129080#M55711</link>
      <description>&lt;P&gt;Try adding this to pom.xml of nar folder of your project&lt;/P&gt;&lt;P&gt; &amp;lt;groupId&amp;gt;org.apache.nifi&amp;lt;/groupId&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;artifactId&amp;gt;nifi-standard-nar&amp;lt;/artifactId&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;version&amp;gt;1.3.0&amp;lt;/version&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;type&amp;gt;nar&amp;lt;/type&amp;gt; &lt;/P&gt;,&lt;P&gt;Try adding    &amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.apache.nifi&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;nifi-standard-nar&amp;lt;/artifactId&amp;gt;
&amp;lt;version&amp;gt;1.3.0&amp;lt;/version&amp;gt;
&amp;lt;type&amp;gt;nar&amp;lt;/type&amp;gt;
&amp;lt;/dependency&amp;gt;&lt;/P&gt;&lt;P&gt;to pom.xml of nar folder of NiFi project&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 20:42:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-error/m-p/129080#M55711</guid>
      <dc:creator>vishani_v</dc:creator>
      <dc:date>2018-01-23T20:42:55Z</dc:date>
    </item>
  </channel>
</rss>

