ZooKeeper_003_伪分布式搭建
1,建立配置文件进入ZooKeeper的conf文件夹cd~/apache-zookeeper-3.7.0-bin/confzoo1.cfgsudo gedit zoo1.cfg插入内容:initLimit=10syncLimit=5# zookeeper存储文件的位置dataDir=/home/hadoop/apache-zookeeper-3.7.0-bin/1.data# zookeeper日志文件的位置dataLogDir=/home/hadoop/apache-zooke