zookeeper集群搭建遇到的问题与解决办法zookeeper无法找到myid文件(myid file is missing)启动zkCli.sh的时候,Unable to read additional data from server sessionid 0x0, likely server has closed socket
用此文档安装https://blog.csdn.net/leanaoo/article/details/83188617启动zookeeper,./zkServer.sh start,启动后发现2181端口没开启,在日志中发现zookeeper无法找到myid文件(myid file is missing)后发现虽然创建了myid文件,但是我是在conf同级目录,创建的data目录,再在data目录手动创建myid,正确的姿势是,在zoo.cf中有dataDir配置,需要在这里目录下手动创建