ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Review Request 36665: RU - Use haadmin failover command instead of killing ZKFC during upgrade/downgrade
Date Tue, 21 Jul 2015 23:13:36 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36665/
-----------------------------------------------------------

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
-------

----------------------------------------------------------------------
Total run:803
Total errors:0
Total failures:0
OK


Thanks,

Alejandro Fernandez


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message