zookeeper:Error contacting service. It is probably not running.

 

 

 因为我们配置的是server.1=zookeeper1:2888:3888;没有修改/etc/hosts文件所以,计算机无法识别zookeeper1

要在/etc/hosts目录下添加如下内容:

192.168.10.102 zookeeper1
192.168.10.103 zookeeper2
192.168.10.104 zookeeper3

 

posted @ 2021-09-14 17:05  小跳不磕脑袋  阅读(368)  评论(0编辑  收藏  举报