zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 徐炜淇 <xuwe...@tju.edu.cn>
Subject Configuring pseudo distributed zookeeper, followers and leader
Date Tue, 26 Feb 2019 11:35:39 GMT
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






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message