----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36665/ -----------------------------------------------------------
(Updated July 22, 2015, 8:57 p.m.) Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole, and Srimanth Gunturi. Bugs: AMBARI-12488 https://issues.apache.org/jira/browse/AMBARI-12488 Repository: ambari Description ------- Currently RU orchestration during upgrade/downgrade kills ZKFC on the active NameNode to initiate a failover to standby. We should instead use the failover command. E.g., su hdfs -c 'hdfs haadmin -failover nn1 nn2' Diffs ----- ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py 827c03d ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py b15bdc4 ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py 94d5b43 ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py a185b5f ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml 5cc30b2 ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml ba16159 Diff: https://reviews.apache.org/r/36665/diff/ Testing ------- Tested this during an RU, in which the active NameNode did successfully initiate an ha failover by calling the command. Python unit tests passed. ----------------------------------------------------------------------- Total run:803 Total errors:0 Total failures:0 OK File Attachments (updated) ---------------- AMBARI-12488.additional.patch https://reviews.apache.org/media/uploaded/files/2015/07/22/82f72b0f-e7fb-47af-beef-6ff8a6aa0b8b__AMBARI-12488.additional.patch Thanks, Alejandro Fernandez