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

 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

 

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

上一篇:iframe标签用法详解(属性、透明、自适应高度)(总结)


下一篇:html符号与正则表达式