why odd number of zookeeper?
The odd number of servers allows ZooKeeper to perform majority elections for leadership. At any given time, there can be up to n failed servers in an ensemble and the ZooKeeper cluster will keep quorum . If at any time, quorum is lost, the ZooKeeper cluster will go down.