通过zkServer.sh status命令查看zookeeper状态,报JMX enabled by defaultUsing config: /home/yqzk/zookeeper-3.4.5/bin/../conf/zoo.cfg
Error contacting service. It is probably not running.
过了一会再次查看,又好了:
JMX enabled by default
Using config: /opt/zookeeper-3.4.5/bin/../conf/zoo.cfg
Mode: follower