After zookeeper start started success because of the status query the status of not running

Before did not know why there is this problem, and now understand the
zookeeper cluster only provide services normally run the server in more than half the time!
I built a pseudo-cluster 3 servers
we first start one, and then query the state:
before because this problem is particularly distressed. .
Here Insert Picture Description
When you open two servers, there is no problem, if not delete the data inside the version-2 and pid file restart
Here Insert Picture Description
when all clusters are open, there is no problem
Here Insert Picture Description

Published 71 original articles · won praise 376 · views 60000 +

Guess you like

Origin blog.csdn.net/qq_41112238/article/details/105309253