<?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: Not able to start NiFi cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219407#M181308</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;@Amit Mishra&lt;/A&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Based on the ERROR above it appears someone has added a non standard jar file to NiFi's default lib directory:&lt;/P&gt;&lt;P&gt;phoenix-4.7.0.2.5.3.0-37-client.jar .  --&amp;gt; added to :/usr/hdf/2.1.1.0-2/nifi/lib/ directory&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;First thing I would try is removing this file from NiFi's default lib directory on every NiFi node.  Then restart your NIFi cluster to make sure ERROR goes away.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Then if you find you need this jar for something in your dataflow, perhaps try creating a new custom lib directory in NiFi and adding it there.  This done by simply adding a new property in the nifi.properties file:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;1.  Create a new custom lib directory on each of the NiFi nodes (for example: /var/lib/nifi/custom-lib/)&lt;/P&gt;&lt;P&gt;2. Move your custom phoenix-4.7.0.2.5.3.0-37-client.jar in to that new directory.  (Recommend moving any other custom added jar/nar files here as well.  You should not be adding any non standard files to NiFI's default lib directory.)&lt;/P&gt;&lt;P&gt;3. Make sure property directory and file ownership and permissions are set.&lt;/P&gt;&lt;P&gt;4. Add new custom property named:  nifi.nar.library.directory.custom1= . (custom1 is an example and can be set to whatever you like.)&lt;/P&gt;&lt;P&gt;5. Set this new properties value to teh path to your custom lib directory you created on each node.  (for example: nifi.nar.library.directory.custom1=/var/lib/nifi/custom-lib/ )&lt;/P&gt;&lt;P&gt;6. Restart all your NiFi nodes.&lt;/P&gt;&lt;P&gt;7. Verify ERROR still does not appear.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 19:23:37 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2018-10-15T19:23:37Z</dc:date>
    <item>
      <title>Not able to start NiFi cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219406#M181307</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Greeting for the day.&lt;/P&gt;&lt;P&gt;Not able to start nifi cluster.&lt;/P&gt;&lt;P&gt;below error occur in nifi-bootstrap.log:&lt;/P&gt;&lt;P&gt;2018-10-15 12:02:08,321 ERROR [NiFi logging handler] org.apache.nifi.StdErr SLF4J: Class path contains multiple SLF4J bindings.
2018-10-15 12:02:08,321 ERROR [NiFi logging handler] org.apache.nifi.StdErr SLF4J: Found binding in [jar:file:/usr/hdf/2.1.1.0-2/nifi/lib/phoenix-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2018-10-15 12:02:08,321 ERROR [NiFi logging handler] org.apache.nifi.StdErr SLF4J: Found binding in [jar:file:/usr/hdf/2.1.1.0-2/nifi/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2018-10-15 12:02:08,322 ERROR [NiFi logging handler] org.apache.nifi.StdErr SLF4J: Found binding in [jar:file:/usr/hdf/2.1.1.0-2/nifi/lib/phoenix-4.7.0.2.5.3.0-37-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
2018-10-15 12:02:08,322 ERROR [NiFi logging handler] org.apache.nifi.StdErr SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.
2018-10-15 12:02:08,340 ERROR [NiFi logging handler] org.apache.nifi.StdErr log4j:WARN No appenders could be found for logger (org.apache.nifi.NiFi).
2018-10-15 12:02:08,340 ERROR [NiFi logging handler] org.apache.nifi.StdErr log4j:WARN Please initialize the log4j system properly.
2018-10-15 12:02:08,340 ERROR [NiFi logging handler] org.apache.nifi.StdErr log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.
2018-10-15 12:02:08,899 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 44274
2018-10-15 12:02:39,239 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:45:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219406#M181307</guid>
      <dc:creator>amit_mishra</dc:creator>
      <dc:date>2018-10-15T13:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to start NiFi cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219407#M181308</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/74233/mishrak14amit.html" nodeid="74233"&gt;@Amit Mishra&lt;/A&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Based on the ERROR above it appears someone has added a non standard jar file to NiFi's default lib directory:&lt;/P&gt;&lt;P&gt;phoenix-4.7.0.2.5.3.0-37-client.jar .  --&amp;gt; added to :/usr/hdf/2.1.1.0-2/nifi/lib/ directory&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;First thing I would try is removing this file from NiFi's default lib directory on every NiFi node.  Then restart your NIFi cluster to make sure ERROR goes away.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Then if you find you need this jar for something in your dataflow, perhaps try creating a new custom lib directory in NiFi and adding it there.  This done by simply adding a new property in the nifi.properties file:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;1.  Create a new custom lib directory on each of the NiFi nodes (for example: /var/lib/nifi/custom-lib/)&lt;/P&gt;&lt;P&gt;2. Move your custom phoenix-4.7.0.2.5.3.0-37-client.jar in to that new directory.  (Recommend moving any other custom added jar/nar files here as well.  You should not be adding any non standard files to NiFI's default lib directory.)&lt;/P&gt;&lt;P&gt;3. Make sure property directory and file ownership and permissions are set.&lt;/P&gt;&lt;P&gt;4. Add new custom property named:  nifi.nar.library.directory.custom1= . (custom1 is an example and can be set to whatever you like.)&lt;/P&gt;&lt;P&gt;5. Set this new properties value to teh path to your custom lib directory you created on each node.  (for example: nifi.nar.library.directory.custom1=/var/lib/nifi/custom-lib/ )&lt;/P&gt;&lt;P&gt;6. Restart all your NiFi nodes.&lt;/P&gt;&lt;P&gt;7. Verify ERROR still does not appear.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 19:23:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219407#M181308</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2018-10-15T19:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to start NiFi cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219408#M181309</link>
      <description>&lt;P&gt;Thank you Matt.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:54:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-able-to-start-NiFi-cluster/m-p/219408#M181309</guid>
      <dc:creator>amit_mishra</dc:creator>
      <dc:date>2018-10-16T13:54:56Z</dc:date>
    </item>
  </channel>
</rss>

