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的配置
来源:CSDN
作者:smile-ls
链接:https://blog.csdn.net/qq_40198004/article/details/103470493