zookeeper 安装集群,配置文件和data和其它都没有问题. 则需要在data里面下添加一个myid 文件 myid里面的数据个service一致 比如.cnf里面配置是 dataDir=/usr/local/src/zookeeper/apache-zookeeper-3.6.3-bin/data dataLogDir=/usr/local/src/zookeeper/apache-zookeeper-3.6.3-bin/logs # the port at which the clie…