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 03:23:51 GMT

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



ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_upgrade.py
<https://reviews.apache.org/r/30813/#comment117615>

    Just to document that DOWNGRADE does nothing in the prepare.



ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py
<https://reviews.apache.org/r/30813/#comment117616>

    In some cases, it gets stuck with the 50 retries when zkfc was already not running.


- Alejandro Fernandez


On Feb. 10, 2015, 3:21 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30813/
> -----------------------------------------------------------
> 
> (Updated Feb. 10, 2015, 3:21 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole, Tom Beerbower,
and Yurii Shylov.
> 
> 
> 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
> -----
> 
>   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 
> 
> 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