<?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: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/329698#M63807</link>
    <description>&lt;P&gt;Hi, may i know if you have managed to solve this problem? I was configuring the nifi cluster on the VM with the external zookeeper, and I faced this problem as well. I been struggling for this issues for weeks but still have no ideas to solve it&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 03:11:45 GMT</pubDate>
    <dc:creator>Ray19</dc:creator>
    <dc:date>2021-11-05T03:11:45Z</dc:date>
    <item>
      <title>zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217003#M63799</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a 3 node cluster all using the NiFi version nifi-1.2.0.3.0.0.0-453. The cluster has been working fine for the last couple of weeks, however today all of a sudden one of the nodes disconnected from the cluster and won't join the cluster back. I checked the logs and the error I see is the following:&lt;/P&gt;&lt;PRE&gt;ERROR [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl Background retry gave up
org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:838)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:809)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:64)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2017-06-27 17:54:40,179 ERROR [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl Background operation retry gave up
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkBackgroundRetry(CuratorFrameworkImpl.java:728)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:857)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:809)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:64)
	at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
&lt;/PRE&gt;&lt;P&gt;The node itself appears to still be running but is disconnected from the cluster. I tried restarting it but the same error keeps appearing over and over again. The other two nodes in the cluster are working fine. Does anyone have any idea of what could be causing this sudden issue? Any insights would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 05:08:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217003#M63799</guid>
      <dc:creator>Adda_Fuentes2</dc:creator>
      <dc:date>2017-06-28T05:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217004#M63800</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13399/addafuentes2.html" nodeid="13399"&gt;@Adda Fuentes&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;It looks like you are seeing this issue:  &lt;A href="https://issues.apache.org/jira/browse/CURATOR-209"&gt;Background retry falls into infinite loop of reconnection after connection loss&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are all of the zookeeper instances running?  Are you seeing any messages in the zookeeper logs?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:49:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217004#M63800</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-29T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217005#M63801</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/286/dwynne.html" nodeid="286"&gt;@Wynner&lt;/A&gt; yes, all of my zookeeper instances are running, we use an external zookeeper not the NiFi embedded zookeeper and all of the instances have been running fine. The day this issue started to happen apparently one of the instances was having issues but since yesterday all of the instances have been working fine and all the services seem to be running but still the node keeps having an issue connecting to zookeeper. However the other two nodes seem to be just fine connecting to zookeeper and joining the cluster. &lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 21:47:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217005#M63801</guid>
      <dc:creator>Adda_Fuentes2</dc:creator>
      <dc:date>2017-06-29T21:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217006#M63802</link>
      <description>&lt;P&gt;What do the zookeeper logs show for the node that is having issues?  Does it show the node trying to connect to zookeeper?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 23:37:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217006#M63802</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-29T23:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217007#M63803</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/286/dwynne.html" nodeid="286"&gt;@Wynner&lt;/A&gt;, no logs show of the node. In the zookeeper logs I logs for the other two nodes in the cluster but not for the one that is having problems.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 02:11:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217007#M63803</guid>
      <dc:creator>Adda_Fuentes2</dc:creator>
      <dc:date>2017-06-30T02:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217008#M63804</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13399/addafuentes2.html" nodeid="13399"&gt;@Adda Fuentes&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Are you able to ping the zookeeper systems from the NiFi node that is having the issue?&lt;/P&gt;&lt;P&gt;I found an article where another user is seeing this issue.  They said they cleared state in the state/zookeeper directory on all of the nodes, but don't remove  the myid file, and restarted all of the nodes at the same time.  I don't know if this is an option for you or not.  Here is a link to the article I found &lt;A href="http://apache-nifi-developer-list.39713.n7.nabble.com/Zookeeper-error-td13915.html"&gt;Zookeeper error&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:30:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217008#M63804</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-30T19:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217009#M63805</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13399/addafuentes2.html" nodeid="13399"&gt;@Adda Fuentes&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I just saw the same error in a cluster I have for testing. I was able to make the error occur and the only way it would clear is if I restarted all of the nodes in my cluster at the same time.&lt;/P&gt;&lt;P&gt;How you tried that with your cluster yet?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2017 01:04:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217009#M63805</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-07-01T01:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217010#M63806</link>
      <description>&lt;P&gt;@Wynner &lt;/P&gt;&lt;P&gt;I had to try a couple of times but after a couple of tries of restarting the nodes at the same time the node was able to join the cluster. Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2017 04:43:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/217010#M63806</guid>
      <dc:creator>Adda_Fuentes2</dc:creator>
      <dc:date>2017-07-01T04:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/329698#M63807</link>
      <description>&lt;P&gt;Hi, may i know if you have managed to solve this problem? I was configuring the nifi cluster on the VM with the external zookeeper, and I faced this problem as well. I been struggling for this issues for weeks but still have no ideas to solve it&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 03:11:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/329698#M63807</guid>
      <dc:creator>Ray19</dc:creator>
      <dc:date>2021-11-05T03:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/402403#M63808</link>
      <description>&lt;P&gt;i too have same issue , i have 3 nodes like zookeepernode1&amp;nbsp;zookeepernode2&amp;nbsp;zookeepernode3&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;nifiuser@zookeepernode3:~$ /opt/zookeeper/bin/zkServer.sh status&lt;BR /&gt;/usr/bin/java&lt;BR /&gt;ZooKeeper JMX enabled by default&lt;BR /&gt;Using config: /opt/zookeeper/bin/../conf/zoo.cfg&lt;BR /&gt;myid could not be determined, will not able to locate clientPort in the server configs.&lt;BR /&gt;Client port found: 2181. Client address: localhost. Client SSL: false.&lt;BR /&gt;Mode: follower&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;in all three i get this status but in nifi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;root@nifinode2:~# tail -f /opt/nifi/logs/nifi-app.log&lt;BR /&gt;2025-02-17 16:05:41,069 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is disconnected: [id: 0x41871c79&lt;BR /&gt;, L:/53.13.138.69:55258 ! R:zookeepernode2/53.13.138.72:2181]&lt;BR /&gt;2025-02-17 16:05:41,069 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is told closing&lt;BR /&gt;2025-02-17 16:05:41,111 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty SSL handler added for channel: [id: 0x29&lt;BR /&gt;83cd7a]&lt;BR /&gt;2025-02-17 16:05:41,113 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is connected: [id: 0x2983cd7a, L&lt;BR /&gt;:/53.13.138.69:57908 - R:zookeepernode1/53.13.138.71:2181]&lt;BR /&gt;2025-02-17 16:05:41,114 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is disconnected: [id: 0x2983cd7a&lt;BR /&gt;, L:/53.13.138.69:57908 ! R:zookeepernode1/53.13.138.71:2181]&lt;BR /&gt;2025-02-17 16:05:41,114 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is told closing&lt;BR /&gt;2025-02-17 16:05:41,157 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty SSL handler added for channel: [id: 0x80&lt;BR /&gt;2bf7fc]&lt;BR /&gt;2025-02-17 16:05:41,158 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is connected: [id: 0x802bf7fc, L&lt;BR /&gt;:/53.13.138.69:38350 - R:zookeepernode3/53.13.247.198:2181]&lt;BR /&gt;2025-02-17 16:05:41,159 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is disconnected: [id: 0x802bf7fc&lt;BR /&gt;, L:/53.13.138.69:38350 ! R:zookeepernode3/53.13.247.198:2181]&lt;BR /&gt;2025-02-17 16:05:41,159 INFO [epollEventLoopGroup-4-1] o.apache.zookeeper.ClientCnxnSocketNetty channel is told closing&lt;BR /&gt;&lt;BR /&gt;here are my configurations&lt;BR /&gt;# zookeeper properties, used for cluster management #&lt;BR /&gt;nifi.zookeeper.connect.string=zookeepernode1:2181,zookeepernode2:2181,zookeepernode3:2181&lt;BR /&gt;nifi.zookeeper.connect.timeout=10 secs&lt;BR /&gt;nifi.zookeeper.session.timeout=10 secs&lt;BR /&gt;nifi.zookeeper.root.node=/nifi&lt;BR /&gt;&lt;BR /&gt;root@nifinode1:/opt/nifi/conf# cat ./zookeeper.properties&lt;BR /&gt;initLimit=10&lt;BR /&gt;autopurge.purgeInterval=24&lt;BR /&gt;syncLimit=5&lt;BR /&gt;tickTime=2000&lt;BR /&gt;dataDir=./state/zookeeper&lt;BR /&gt;autopurge.snapRetainCount=30&lt;BR /&gt;server.1=zookeepernode1:2888:3888;2181&lt;BR /&gt;server.2=zookeepernode2:2888:3888;2181&lt;BR /&gt;server.3=zookeepernode3:2888:3888;2181&lt;BR /&gt;&lt;BR /&gt;also i have myid file created properly&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 16:38:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/402403#M63808</guid>
      <dc:creator>pavanshettyg5</dc:creator>
      <dc:date>2025-02-17T16:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper connection error in NiFi version nifi-1.2.0.3.0.0.0-453</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/402426#M63809</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/124166"&gt;@pavanshettyg5&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You will get much better traction in the community by starting a new community question rather then adding on to an existing community question that already has an accepted solution. This particular community question is from 2017&lt;BR /&gt;&lt;BR /&gt;Please start a new community question with the details of what you are observing.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 13:20:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/zookeeper-connection-error-in-NiFi-version-nifi-1-2-0-3-0-0/m-p/402426#M63809</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-02-18T13:20:08Z</dc:date>
    </item>
  </channel>
</rss>

