<?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: Behavior of 3 node Zookeeper quorum when 1 node fails in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16628#M2512</link>
    <description>Loss of one node in a 3-member ZooKeeper quorum is tolerable, because&lt;BR /&gt;2 out of 3 remaining machines still count as a majority (out of the&lt;BR /&gt;fully identified quorum of 3).&lt;BR /&gt;&lt;BR /&gt;- No loss of functionality will be experienced with the loss of only&lt;BR /&gt;one of the peers (in three), two peers (in five), etc.&lt;BR /&gt;- One of the remaining two will automatically be assigned the leader&lt;BR /&gt;role, in case of a leader failure.&lt;BR /&gt;- Writes can continue to happen, and no special mode is invoked.&lt;BR /&gt;- Clients will continue to see the same behaviour they expect out of&lt;BR /&gt;ZooKeeper, even in such a situation.&lt;BR /&gt;- No manual intervention is required for this procedure, ZK is automatically HA.&lt;BR /&gt;&lt;BR /&gt;The administrator's guide of ZooKeeper covers this BTW:&lt;BR /&gt;&lt;A target="_blank" href="http://archive.cloudera.com/cdh5/cdh/5/zookeeper/zookeeperAdmin.html"&gt;http://archive.cloudera.com/cdh5/cdh/5/zookeeper/zookeeperAdmin.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 08 Aug 2014 05:24:43 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2014-08-08T05:24:43Z</dc:date>
    <item>
      <title>Behavior of 3 node Zookeeper quorum when 1 node fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16616#M2511</link>
      <description>&lt;P&gt;So I have noticed that operations can still continue when zookeeper fails 1 node of it's 3 node quorum although I understand that it can no longer accept writes because it has no leader (is this right). I know we have to satisfy the ceil(N/2) requirement, but this is to chose leadership it says nothing about how&amp;nbsp;the dependencies (HBase in particular) would be affected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions is at it's core, what is the behavior of zookeeper when failure is seen from 3 nodes to 2. Does it turn into a read only coordinator, as an immediate fix can one be assigned master?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16616#M2511</guid>
      <dc:creator>gmortiz17</dc:creator>
      <dc:date>2022-09-16T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of 3 node Zookeeper quorum when 1 node fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16628#M2512</link>
      <description>Loss of one node in a 3-member ZooKeeper quorum is tolerable, because&lt;BR /&gt;2 out of 3 remaining machines still count as a majority (out of the&lt;BR /&gt;fully identified quorum of 3).&lt;BR /&gt;&lt;BR /&gt;- No loss of functionality will be experienced with the loss of only&lt;BR /&gt;one of the peers (in three), two peers (in five), etc.&lt;BR /&gt;- One of the remaining two will automatically be assigned the leader&lt;BR /&gt;role, in case of a leader failure.&lt;BR /&gt;- Writes can continue to happen, and no special mode is invoked.&lt;BR /&gt;- Clients will continue to see the same behaviour they expect out of&lt;BR /&gt;ZooKeeper, even in such a situation.&lt;BR /&gt;- No manual intervention is required for this procedure, ZK is automatically HA.&lt;BR /&gt;&lt;BR /&gt;The administrator's guide of ZooKeeper covers this BTW:&lt;BR /&gt;&lt;A target="_blank" href="http://archive.cloudera.com/cdh5/cdh/5/zookeeper/zookeeperAdmin.html"&gt;http://archive.cloudera.com/cdh5/cdh/5/zookeeper/zookeeperAdmin.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Aug 2014 05:24:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16628#M2512</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2014-08-08T05:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of 3 node Zookeeper quorum when 1 node fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16648#M2513</link>
      <description>&lt;P&gt;Thanks for your response and the documentation. I've read it more carefully now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one more scenario to ask about: What does the failure of 2 zookeeper servers in a 3 server cluster imply?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 14px;"&gt;Does the final zookeeper server shutdown (not having a master to communicate with?)&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 14px;"&gt;Does the final zookeeper sever remain as a read only machine.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate if you could point me to documentation that also talked about this as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2014 15:37:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16648#M2513</guid>
      <dc:creator>gmortiz17</dc:creator>
      <dc:date>2014-08-08T15:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of 3 node Zookeeper quorum when 1 node fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16650#M2514</link>
      <description>The loss of the last majority-making member in any N-member quorum&lt;BR /&gt;would imply a complete failure of quorum, and the remaining peers will&lt;BR /&gt;shut off their client serving port and go into a 'waiting' mode for&lt;BR /&gt;members to reappear to form a majority for leader re-election again.&lt;BR /&gt;&lt;BR /&gt;As a result, no clients can connect to the ZK service anymore, for&lt;BR /&gt;reads or for writes. Clients will simply receive a ECONNREFUSED&lt;BR /&gt;failure at this point. There's no 'read-only' mode - every operation&lt;BR /&gt;in ZK requires a presence of an quorum. The ZK overview doc mentions&lt;BR /&gt;this implicitly&lt;BR /&gt;&lt;A href="http://archive.cloudera.com/cdh5/cdh/5/zookeeper/zookeeperOver.html:" target="_blank"&gt;http://archive.cloudera.com/cdh5/cdh/5/zookeeper/zookeeperOver.html:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;"""&lt;BR /&gt;As long as a majority of the servers are available, the ZooKeeper&lt;BR /&gt;service will be available.&lt;BR /&gt;"""&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Aug 2014 16:09:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16650#M2514</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2014-08-08T16:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of 3 node Zookeeper quorum when 1 node fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16654#M2515</link>
      <description>&lt;P&gt;Thanks, the link gives a 404 because there is a colon on the end, but I was still able to get there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2014 17:21:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/16654#M2515</guid>
      <dc:creator>gmortiz17</dc:creator>
      <dc:date>2014-08-08T17:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of 3 node Zookeeper quorum when 1 node fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/93684#M2516</link>
      <description>&lt;P&gt;Zookeeper works on quorum. And quorum holds the majority of servers rules. If you have 3 servers and one is down, then Majority of servers are working. you can read further&amp;nbsp;&lt;A title="Zookeeper Quorum" href="https://medium.com/@akashsingla19/zookeeper-quorum-44906bb17d74" target="_blank" rel="noopener"&gt;Zookeeper Quorum&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 16:20:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Behavior-of-3-node-Zookeeper-quorum-when-1-node-fails/m-p/93684#M2516</guid>
      <dc:creator>Zookeeper</dc:creator>
      <dc:date>2019-08-04T16:20:12Z</dc:date>
    </item>
  </channel>
</rss>

