<?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 with external zookeeper errors in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369122#M240379</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85051"&gt;@luv4diamonds&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2023 01:01:05 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2023-04-22T01:01:05Z</dc:date>
    <item>
      <title>nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369120#M240377</link>
      <description>&lt;P&gt;I have installed nifi on 3 hosts and zookeeper on one, for now.&amp;nbsp; In the nifi-app.log, I keep seeing these errors.&lt;/P&gt;&lt;P&gt;org.apache.nifi.priority.Rul;esManager Exception occurred when trying to update rules from teh stateManageProvider.&amp;nbsp; java.io.&amp;nbsp; Failed to obtain value from zookeeper for component with ID RulesManagerID with the exception code CONNECTIONLOSS.&amp;nbsp; I'm running zookeeper-3.4.13 until I can get a later release.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, in my zookeeper.out log, These messages keep rolling in the log:&lt;/P&gt;&lt;P&gt;Accepted socket connection from /IP/port&lt;/P&gt;&lt;P&gt;Exception causing close of sessions 0x0 Len error 369296128&lt;/P&gt;&lt;P&gt;Closed socket connection for client /IP/port (no session established for client)&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Cathy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 21:51:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369120#M240377</guid>
      <dc:creator>luv4diamonds</dc:creator>
      <dc:date>2023-04-21T21:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369122#M240379</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85051"&gt;@luv4diamonds&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 01:01:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369122#M240379</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-04-22T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369534#M240504</link>
      <description>&lt;P&gt;Question was not answered.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 19:14:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369534#M240504</guid>
      <dc:creator>luv4diamonds</dc:creator>
      <dc:date>2023-04-26T19:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369566#M240507</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;Any insights here by any chance? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 23:48:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369566#M240507</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-04-26T23:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369592#M240511</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85051"&gt;@luv4diamonds&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I do not have much experience with zookeeper but if you are running a 3 node nifi cluster and you have installed zookeeper on one of those nodes, why don't you use the embedded zookeeper directly? It would make sense to have your external zookeeper made totally external as right now you are assigning resources to your zookeeper instance as well. For example if you will have a problem with the node on which you have your zookeeper client, the entire cluster will be affected, whereas if you had your zookeeper on a different machine, the other nodes would not be affected. This is just an opinion &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please share some light on what NiFi Version you are using and how you configured your properties? I am talking here about nifi.properties, zookeeper.properties and state-management.xml.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 07:14:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369592#M240511</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-04-27T07:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369616#M240518</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85051"&gt;@luv4diamonds&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;NiFi will NOT form a cluster with a single instance Zookeeper.&amp;nbsp; Zookeeper must have quorum otherwise a cluster coordinator and primary node will not get elected for NiFi.&amp;nbsp; For Quorum you should have an odd number of ZK nodes with a minimum of 3.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 13:31:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369616#M240518</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-04-27T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369670#M240525</link>
      <description>&lt;P&gt;I'm running nifi-11.14.0.&amp;nbsp; I switched to embedded on my cluster and I'm still getting connection refused to port 2181 for only one of the nifi's.&amp;nbsp; In addition, I'm seeing this error.&amp;nbsp; KeeperErrorCode - ConnectionLoss for /nifi/components/RulesManagerID.&amp;nbsp; Any other ideas?&lt;/P&gt;&lt;P&gt;This messages did go away:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Exception causing close of sessions 0x0 Len error 369296128.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I can't share my files on here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My state-management.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connect String:&amp;nbsp; &amp;gt;zoo.mydomain:2181,zoo2.mydomain:2181,zoo3.mydomain:2181&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;zookeepers.properties:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have ssl configured and&lt;BR /&gt;server.1-zoo.mydomain:2888:3888;2181&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server.1-zoo2.mydomain:2888:3888;2181&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server.1-zoo3.mydomain:2888:3888;2181&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;nifi.properties embedded zookeeper: true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;nifi.zookeeper.connect.string=zoo.mydomain:2181,zoo2.mydomain:2181,zoo3.mydomain:2181&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 21:30:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369670#M240525</guid>
      <dc:creator>luv4diamonds</dc:creator>
      <dc:date>2023-04-27T21:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369691#M240533</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85051"&gt;@luv4diamonds&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;On my instances where I am running the embedded zookeeper, I am using port 2182 and not 2181. Maybe you can try and change it like that and test.&lt;BR /&gt;In addition, I assume that you have the file myid generated on every node, right?(&lt;A href="https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.5.1/nifi-state-management/content/embedded_zookeeper.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.5.1/nifi-state-management/content/embedded_zookeeper.html&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 07:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/369691#M240533</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-04-28T07:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: nifi with external zookeeper errors</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/370670#M240786</link>
      <description>&lt;P&gt;Thank you for replying.&amp;nbsp; I have tried so many different ports and I am even trying external zookeeper.&amp;nbsp; None of my nifi's can connect to any port I provide them.&amp;nbsp; It's almost like something is wrong with the code.&amp;nbsp; I have installed ZK on one of my actual nifi servers and that starts up immediately on port 2181.&amp;nbsp; That's what is leading me to think it's something in the code.&amp;nbsp; The other odd thing I keep seeing is, apache.zookeeper.ClientCnxnSocketNetty future isn't success.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 18:58:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-with-external-zookeeper-errors/m-p/370670#M240786</guid>
      <dc:creator>luv4diamonds</dc:creator>
      <dc:date>2023-05-12T18:58:27Z</dc:date>
    </item>
  </channel>
</rss>

