Hi,
I configured a pseudo distributed zookeeper, a master two virtual machines. The 
content of file A are as follows:
tickTime=2000 
initLimit=10 
syncLimit=5 
dataDir=/home/v7/RyaInstall/zookeeper-3.4.12/data
clientPort=2181
server.1=192.168.122.1:2888:3888 
server.2=192.168.122.92:2888:3888
server.3=192.168.122.152:2888:3888 



The server is my local computer, server 2 and 3 are ,y virtual machines.
But when I start zookeerper, my localhost always becomes follower, one of 
server2 or server3 becomes the leader.
I do not know how to make my local computer becomes the leader.
Can you help me?


Best
Weiqi






Reply via email to