2
需要发出什么命令来检查ZooKeeper服务器是领导者还是跟随者?
已创建由三个ZooKeeper服务器组成的ZooKeeper法定人数。 zoo.cfg所有三个ZooKeeper服务器上的位置如下: maxClientCnxns=50 # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot …