启动zookeeper,查看zookeeper状态,显示如下:
Error contacting service. It is probably not running.
不知所云,查看日志,zkServer
同目录有一文件zookeeper.out
,点他,看起来
Cannot open channel to 2 at election address node200/192.168.197.129:3888
java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl