Hadoop Zookeeper 集群启动异常: “ZooKeeper JMX enabled by default”
ZooKeeper JMX enabled by defaultUsing config: /opt/module/zookeeper-3.4.10/bin/../conf/zoo.cfgError contacting service. It is probably not running.
·
异常:
ZooKeeper JMX enabled by default
Using config: /opt/module/zookeeper-3.4.10/bin/../conf/zoo.cfg
Error contacting service. It is probably not running.
原因:
启动出问题,你首先看
server.101=hadoop101:2888:3888
server.102=hadoop102:2888:3888
server.103=hadoop103:2888:3888
id号要一一对应起来没有!
解决方案:
datas目录下面myid文件
#第一台服务器 cat myid
101
#第二台服务器 cat myid
102
#第三台服务器 cat myid
103
更多推荐
已为社区贡献10条内容
所有评论(0)