因为我们配置的是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.
2023-09-25 10:40:52
因为我们配置的是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.