启动zkServer.sh start出现Error contacting service. It is probably not running.

启动zkServer.sh start显示:Using config: /home/hadoop/apps/zookeeper-3.4.10/bin/…/conf/zoo.cfg
Starting zookeeper … STARTED
jps查看节点进程 QuorumPeerMain也正常起来了
但是查看zk状态zkServer.sh status 显示:Error contacting service. It is probably not running.
主要的原因的是创建的/home/hadoop/data/zookeeperdata/myid文件中的内容写错了
而且内容里面不能有空格等
启动zkServer.sh start出现Error contacting service. It is probably not running._第1张图片

你可能感兴趣的:(启动zkServer.sh start出现Error contacting service. It is probably not running.)