1.If one of the ZooKeeper server lists is down, it will cause /home to have no data, so it will randomly connect to one of the servers in the list until it is connected.
2./monitor interface, if a ZooKeeper service is down, other ZooKeeper services will not execute the stat and envi commands. Modified to print out the exception if the execution command is abnormal.
1.If one of the ZooKeeper server lists is down, it will cause /home to have no data, so it will randomly connect to one of the servers in the list until it is connected. 2./monitor interface, if a ZooKeeper service is down, other ZooKeeper services will not execute the stat and envi commands. Modified to print out the exception if the execution command is abnormal.