您好,登錄后才能下訂單哦!
【1】搭建HA高可用hadoop-2.3(規(guī)劃+環(huán)境準(zhǔn)備)
【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 <<EOF
tickTime=2000
dataDir=/data/zookeeper/data
dataLogDir=/data/zookeeper/logs
clientPort=2181
initLimit=5
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
#echo 1 > /data/zookeeper/data/myid
master2
#echo 2 > /data/zookeeper/data/myid
slave1
#echo 3 > /data/zookeeper/data/myid
slave2
#echo 4 > /data/zookeeper/data/myid
slave3
#echo 5 > /data/zookeeper/data/myid
(3)啟動(dòng)zookeeper
master1、master2、slave1、slave2、slave3
#/opt/zookeeper/bin/zkServer.sh start #echo "/opt/zookeeper/bin/zkServer.sh start" >> /etc/rc.local
【1】搭建HA高可用hadoop-2.3(規(guī)劃+環(huán)境準(zhǔn)備)
【2】搭建HA高可用hadoop-2.3(安裝zookeeper)
【3】搭建HA高可用hadoop-2.3(部署配置hadoop--cdh6.1.0)
【4】搭建HA高可用hadoop-2.3(部署配置HBase)
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。