hadoop的HA集群搭建
环境
centos7,jdk1.8,zookeeper-3.5.5,hadoop-2.7.2
1.配置hosts:vi /etc/hosts
192.168.221.100 hadoop100
192.168.221.101 hadoop101
192.168.221.102 hadoop102
192.168.221.103 hadoop103
192.168.221.104 hadoop104
zookeeper的集群安装
1.进入zookeeper的conf目录下进行操作
cp zoo_sample.cfg zoo.cfg
2.zoo.cfg的配置