Steps to restart NameNode HA with zero downtime Failover to secondary namenode $ sudo -u hdfs hdfs haadmin -failover nn1 nn2 Restart nn1 from Ambari Failover again to secondary namenode $ sudo -u hdfs hdfs haadmin -failover nn2 nn1 Restart nn2 from Ambari