HDFS-HA、Zookepeer、YARN-HA配置
HDFS-HA
namenode namenode
(快捷启动所有节点服务 [sbin/start-dfs.sh],关闭 [sbin/stop-dfs.sh])
datanode datanode datanode
journalnode journalnode journalnode
zkfc zkfc
(启动服务 [sbin/hadoop-daemon.sh start zkfc] ---DFSZKFailoverController)
(zookeeper [bin/zkServer.sh start(stop)] --QuorumPeerMain)
YARN HA
ResourceManager ResourceManager
(启动服务 [sbin/yarn-daemon.sh start resourcemanager])
NodeManager NodeManager NodeManager
(启动服务 [sbin/yarn-daemon.sh start nodemanager])
(快捷启动 [sbin/start-yarn.sh])
配置hdfs-site.xml文件
通过SCP命令传导其余两个节点
网友评论