Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - QuorumPeer requires at least 2 peers?


Copy link to this message
-
QuorumPeer requires at least 2 peers?
Alan Perez-Rathke 2012-02-02, 23:58
Hello,

I am encountering a scenario in which I have started two QuorumPeers and then I call shutdown() on one of them (in order to simulate a server crashing).

The remaining QuorumPeer then busy loops within Election::lookForLeader().  It never appears to be able to return from this loop.

I have seen this behavior on ZooKeeper versions 3.3.4 and 3.4.2 and with election algorithms: LeaderElection, AuthFastLeaderElection, and FastLeaderElection.

Does this mean that QuorumPeer requires at least 2 peers online in order to not infinite loop within the internal leader election?

Thanks,--
Alan