Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Why do we need to have a "majority" in Zookeeper ?

Why do we need to have a "majority" in Zookeeper ?

New Contributor

Why do we need to have a majority in Zookeeper ?

 

Kindly explain the case of 'two zookeepers'. In the below statement, what is meaning of majority?

 

"If we have two nodes and one node fails, we don’t have majority as well, since one out of two is not a majority."

1 REPLY 1

Re: Why do we need to have a "majority" in Zookeeper ?

Champion

@Navya 

 

Below article that i found that would explain the reason behind having the zookeeper quorom in odd numbers 

 

http://bytecontinnum.com/2016/09/zookeeper-always-configured-odd-number-nodes/

 

Hope this is suffice .  :)