因为我们配置的是server.1=zookeeper1:2888:3888;没有修改/etc/hosts文件所以,计算机无法识别zookeeper1
要在/etc/hosts目录下添加如下内容:
192.168.10.102 zookeeper1192.168.10.103 zookeeper2192.168.10.104 zookeeper3