一,环境介绍
CentOS7 为服务器
Hadoop 版本为:3.1.3
HBase 版本为 2.2.3
ZooKeeper 版本为:3.5.7
JDK 版本为 1.8
二,zookeeper安装配置
1,zookeeper上传解压到master服务器
2,配置zoo.cfg文件
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=/opt/module/apache-zookeeper-3.5.7-bin/data
dataLogDir=/opt/module/apache-zookeeper-3.5.7-b