HA模式下管理节点 12345678# 查看namenode节点状态hdfs haadmin -getAllServiceState #切换节点为standby hdfs haadmin -transitionToStandby [serviceId]#切换节点为active hdfs haadmin -transitionToActive [serviceId]