[hadoop@hadoop06 data]$ zkServer.sh status
JMX enabled by default
Using config: /app/zookeeper-3.4.5/bin/../conf/zoo.cfg
<span style="color:#ff6600;">Error contacting service. It is probably not running.</span>
这是一个很常见的错误,要想解决这个bug,去查看日志就会有很精准的提示:
java.lang.RuntimeException: My id 5 not in the peer list