ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 30813: RU - HDFS downgrade needs skip HDFS prepare step
Date Tue, 10 Feb 2015 19:57:49 GMT

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

(Updated Feb. 10, 2015, 7:57 p.m.)


Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole, Tom Beerbower,
and Yurii Shylov.


Changes
-------

Addressed Jonathan's comment.


Bugs: AMBARI-9541
    https://issues.apache.org/jira/browse/AMBARI-9541


Repository: ambari


Description
-------

Rolling Upgrade down grade is the same as the upgrade, with the exception that the "hdfs dfsadmin
-rollingUpgrade prepare" command does not need to be ran.


Diffs (updated)
-----

  ambari-common/src/main/python/resource_management/core/constants.py PRE-CREATION 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_upgrade.py
f74d874 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py
69cd157 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py
154e6e3 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
59edd2e 

Diff: https://reviews.apache.org/r/30813/diff/


Testing
-------

Deployed a 3-node cluster with NamenodeHA, and only HDFS and ZK, then caused a failure on
Datanode, performed a downgrade, and it correctly got to Finalize.

Unit tests are in progress.


Thanks,

Alejandro Fernandez


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