Zookeeper 分布式部署
/opt/app/zookeeper-3.4.5/conf/zoo.cfg tickTime=2000 initLimit=10 syncLimit=5 dataDir=/opt/app/zookeeper-3.4.5/data/zkData clientPort=2181 server.1=hadoop-senior.huiyunltd.com:2888:3888 server.2=hadoop-senior02.huiyunltd.com:2888:3888 server.3=hadoop-senior03.huiyunltd.com:2888:3888 [[email protected] ~]$ touch /opt/app/zookeeper-3.4.5/data/zkData/myid [[email protected]