<?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 Issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25656#M5360</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when I check logs, I see the following error, can you help me in fixing this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Session 0x0 for server xxxxxxxxxxxxxx/10.4.2.110:2181, unexpected error, closing socket connection and attempting reconnect
java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
	at sun.nio.ch.IOUtil.read(IOUtil.java:192)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:68)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Mar 2015 17:12:00 GMT</pubDate>
    <dc:creator>Jais</dc:creator>
    <dc:date>2015-03-17T17:12:00Z</dc:date>
    <item>
      <title>Zookeeper Issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25651#M5357</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Canary test of client connection to ZooKeeper and execution of basic operations succeeded though a session could not be established with one or more servers. Need help to know what to do in such situation?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:24:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25651#M5357</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2022-09-16T09:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25654#M5358</link>
      <description>Check the ZooKeeper "Maximum Client Connections" (maxClientCnxns) property.&lt;BR /&gt;This often defaults to 60 and should be raised to 300.&lt;BR /&gt;&lt;BR /&gt;This value sets a per-host limit on connections, so if there are more&lt;BR /&gt;connections to the ZooKeeper from processes on an individual host it will&lt;BR /&gt;begin rejecting connections.&lt;BR /&gt;&lt;BR /&gt;The canary test is to connect to the ZooKeeper, create a znode, and delete&lt;BR /&gt;the znode.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:05:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25654#M5358</guid>
      <dc:creator>denloe</dc:creator>
      <dc:date>2015-03-17T17:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25655#M5359</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new the CDH so, can you please explain me in details, how can I change it from 60 to 300 ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:07:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25655#M5359</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-03-17T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25656#M5360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when I check logs, I see the following error, can you help me in fixing this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Session 0x0 for server xxxxxxxxxxxxxx/10.4.2.110:2181, unexpected error, closing socket connection and attempting reconnect
java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
	at sun.nio.ch.IOUtil.read(IOUtil.java:192)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:68)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:12:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25656#M5360</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-03-17T17:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25657#M5361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to change it from 60 to 300, now it seems working, the warning disppeared....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping Denloe.......you guys are great!!!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:16:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/25657#M5361</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-03-17T17:16:57Z</dc:date>
    </item>
    <item>
      <title>Zookeeper Warning: "ZooKeeper service zookeeper must have an odd number of servers."</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33598#M5362</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using the zookeeper server on our google compute engine VMs. When we go to Cloudera manager, the status of Zookeeper says&lt;/P&gt;
&lt;P&gt;that "ZooKeeper service zookeeper must have an odd number of servers." Obviously we thought of shutting down one of the servers.&lt;/P&gt;
&lt;P&gt;Even when we stopper Zookeeper server on one of our nodes, the warning was still there. After this I have tried stopping, restarting and re-initializing the server but the warning message remains. Does anyone have any insight into this problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make things worse, after I shut down the chosen node, I started getting this health warning message about that node.&amp;nbsp;&amp;nbsp;Anyway, when I try&amp;nbsp;restarting the zookeeper server on that machine, I get the following error message: "&lt;/P&gt;
&lt;DIV class="modal-header"&gt;Command Details: Restart this Server&lt;SPAN class="pull-right"&gt;&lt;SPAN class="lastRefreshed"&gt;Last Refreshed: &lt;SPAN class="time"&gt;Oct 29, 2015 10:23:37 PM UTC&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="modal-body "&gt;Command Context Status Started at Ended at
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;Restart this Server&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;Server, hadp-inv-ibi-w3&lt;/TD&gt;
&lt;TD&gt;&lt;SPAN&gt;Finished&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;Oct 29, 2015 10:23:24 PM UTC&lt;/TD&gt;
&lt;TD&gt;Oct 29, 2015 10:23:36 PM UTC&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV class="well"&gt;
&lt;PRE&gt;Command (2133) has failed&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;DIV class="child-commands-container"&gt;
&lt;DIV class="Toggler child-commands-title"&gt;Child Commands&lt;/DIV&gt;
&lt;DIV class="child-commands-content"&gt;
&lt;DIV class="form-inline"&gt;All &amp;nbsp; Failed Only &amp;nbsp; Active Only&lt;/DIV&gt;
Command (Child commands) Context Status Started at Ended at
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;Start this Server&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;Server, hadp-inv-ibi-w3&lt;/TD&gt;
&lt;TD&gt;&lt;SPAN&gt;Finished&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;Oct 29, 2015 10:23:24 PM UTC&lt;/TD&gt;
&lt;TD&gt;Oct 29, 2015 10:23:36 PM UTC&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV class="well"&gt;
&lt;PRE&gt;Supervisor returned FATAL. Please check the role log file, stderr, or stdout.&lt;/PRE&gt;
&lt;STRONG&gt;Program:&lt;/STRONG&gt; zookeeper/zkserver.sh ["1","/var/lib/zookeeper"]
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Recent Log Entries&lt;/TD&gt;
&lt;TD&gt;Links to full logs:
&lt;UL&gt;
&lt;LI&gt;Stderr&lt;/LI&gt;
&lt;LI&gt;Stdout&lt;/LI&gt;
&lt;LI&gt;Role Log Details&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Any help would be hugely appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Oct 2015 12:18:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33598#M5362</guid>
      <dc:creator>muntasir</dc:creator>
      <dc:date>2015-10-30T12:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Warning: "ZooKeeper service zookeeper must have an odd number of servers."</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33600#M5363</link>
      <description>The message implies you must have 1,3,5,7,... ZooKeeper servers in the&lt;BR /&gt;cluster. It doesn't matter if they're running or not at the time. How many&lt;BR /&gt;ZooKeeper servers do you have within the service?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:05:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33600#M5363</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-10-29T23:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Warning: "ZooKeeper service zookeeper must have an odd number of servers."</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33601#M5364</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have 4 zookeeper servers in the cluster. One of my hypotheses was stopping the zookeeper server on one of the 4 servers will solve the problem.&lt;/P&gt;&lt;P&gt;Since that's not working, what else can we do? Should we try uninstalling zookeeper on one of the nodes?...If so, could you please tell me how to do&lt;/P&gt;&lt;P&gt;that? I have been searching for a couple of days now for resources that would direct me to that direction. so far no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you need further info on our cluster, here's a screenshot for it:&amp;nbsp;&lt;A href="https://dl.dropboxusercontent.com/u/133690147/Capture.PNG" target="_blank"&gt;https://dl.dropboxusercontent.com/u/133690147/Capture.PNG&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i try to restart the w3 server (the server at the bottom of the picture above), I get the following error:&amp;nbsp;&lt;A href="https://dl.dropboxusercontent.com/u/133690147/Capture2.PNG" target="_blank"&gt;https://dl.dropboxusercontent.com/u/133690147/Capture2.PNG&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:34:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33601#M5364</guid>
      <dc:creator>muntasir</dc:creator>
      <dc:date>2015-10-29T23:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Warning: "ZooKeeper service zookeeper must have an odd number of servers."</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33602#M5365</link>
      <description>4 is not an ideal number. I'd suggest you simply stop and delete the "down"&lt;BR /&gt;ZooKeeper server from Cloudera Manager. It will remove the server from the&lt;BR /&gt;ensemble, you'd have to restart all of ZooKeeper to enforce the change.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:36:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33602#M5365</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-10-29T23:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Warning: "ZooKeeper service zookeeper must have an odd number of servers."</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33603#M5366</link>
      <description>&lt;P&gt;when you say "remove the server from the ensemble", do you mean delete it? Like selecting the delete option? :&amp;nbsp;&lt;A href="https://dl.dropboxusercontent.com/u/133690147/Capture3.PNG" target="_blank"&gt;https://dl.dropboxusercontent.com/u/133690147/Capture3.PNG&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:52:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33603#M5366</guid>
      <dc:creator>muntasir</dc:creator>
      <dc:date>2015-10-29T23:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper Warning: "ZooKeeper service zookeeper must have an odd number of servers."</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33604#M5367</link>
      <description>Yes, by deleting it from the list, Cloudera Manager will automatically&lt;BR /&gt;remove it from the ensemble and update the config files of the other three&lt;BR /&gt;servers. They would need a restart to see the change.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:53:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zookeeper-Issue/m-p/33604#M5367</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-10-29T23:53:56Z</dc:date>
    </item>
  </channel>
</rss>

