Amabri 集羣 常規安裝完成後 未單節點 NN 需手動升級 NN HAhtml
步驟:node
1.Check to make sure you have at least three hosts in your cluster and are running at least three ZooKeeper servers.
2.Check to make sure that the HDFS and ZooKeeper services are not in Maintenance Mode.
3.These services will be stopped and started when enabling NameNode HA. Maintenance Mode will prevent those start and stop operations from occurring. If the HDFS or ZooKeeper services are in Maintenance Mode the NameNode HA wizard will not complete successfully.
4.In Ambari Web, select Services > HDFS > Summary. (重點,不少朋友找不到開啓HA服務的位置)
5.Select Service Actions and choose Enable NameNode HA.
6.The Enable HA Wizard launches. This wizard describes the set of automated and manual steps you must take to set up NameNode high availability.
7.Get Started : This step gives you an overview of the process and allows you to select a Nameservice ID. You use this Nameservice ID instead of the NameNode FQDN once HA has been set up. Click Next to proceed.
後續內容參考下官網,英文很差的使用翻譯軟件,不難。
官網原文參考:
http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Users_Guide/content/_how_to_configure_namenode_high_availability.html ide
關鍵步驟如圖:ui
第二個 NN JN 騎數個 建議 3 、5 、7 this
啓動 NN 節點上 啓動 JN翻譯
啓動 NN 節點上 啓動 JNserver
啓動 zkfc htm