【2】搭建HA高可用hadoop-2.3(安装zookeeper)
【1】搭建HA高可用hadoop-2.3(规划+环境准备)
创新互联建站自2013年创立以来,先为昌邑等服务建站,昌邑等地企业,进行企业商务咨询服务。为昌邑企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。
【2】搭建HA高可用hadoop-2.3(安装zookeeper)
【3】搭建HA高可用hadoop-2.3(部署配置hadoop--cdh6.1.0)
【4】搭建HA高可用hadoop-2.3(部署配置HBase)
安装部署zookeeper
(1)安装zookeeper
master1、master2、slave1、slave2、slave3
#cd /opt/ #tar xf zookeeper-3.4.5-cdh6.1.0.tar.gz #ln -s zookeeper-3.4.5-cdh6.1.0.tar.gz zookeeper
(2)配置zookeeper
master1、master2、slave1、slave2、slave3
#mkdir -p /data/zookeeper/{data,logs}
#cat > /opt/zookeeper/conf/zoo.cfg < tickTime=2000 dataDir=/data/zookeeper/data dataLogDir=/data/zookeeper/logs clientPort=2181 syncLimit=2 server.1=10.64.8.1:2888:3888 server.2=10.64.8.2:2888:3888 server.3=10.64.8.3:2888:3888 server.4=10.64.8.4:2888:3888 server.5=10.64.8.5:2888:3888 EOF master1 master2 slave1 slave2 slave3 (3)启动zookeeper master1、master2、slave1、slave2、slave3 【1】搭建HA高可用hadoop-2.3(规划+环境准备) 【2】搭建HA高可用hadoop-2.3(安装zookeeper) 【3】搭建HA高可用hadoop-2.3(部署配置hadoop--cdh6.1.0) 【4】搭建HA高可用hadoop-2.3(部署配置HBase)
initLimit=5#echo 1 > /data/zookeeper/data/myid
#echo 2 > /data/zookeeper/data/myid
#echo 3 > /data/zookeeper/data/myid
#echo 4 > /data/zookeeper/data/myid
#echo 5 > /data/zookeeper/data/myid
#/opt/zookeeper/bin/zkServer.sh start
#echo "/opt/zookeeper/bin/zkServer.sh start" >> /etc/rc.local
文章题目:【2】搭建HA高可用hadoop-2.3(安装zookeeper)
链接URL:http://scjbc.cn/article/joeihe.html