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

Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, Jonathan 
Hurley, Nate Cole, and Swapan Shridhar.


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


Repository: ambari


Description
-------

For Express Upgrade,

1. We started the NameNodes with "-rollingUpgrade started" but were calling the 
wrong finalize command, "-finalizeUpgrade" instead of "-rollingUpgrade 
finalize".
2. In HA, if safemode was already on, then the prepare step would fail since 
the grep command reported an error.
3. In HA, we now check both NameNodes to come out of safemode. Before, this 
would only run on the active one.


Diffs
-----

  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
 1fada76 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_upgrade.py
 f8a327f 
  
ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml
 efc3753 
  
ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml
 fa69e72 
  
ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml
 6282fdc 
  
ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml
 798c895 

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


Testing
-------

Tested this during Express Upgrade.
HDP 2.1->2.3.0.0->2.3.2.0 and finalize
HDP 2.2->2.3.0.0->2.3.2.0 and downgrade on the last item.

Python unit tests passed.
----------------------------------------------------------------------
Total run:828
Total errors:0
Total failures:0
OK


Thanks,

Alejandro Fernandez

Reply via email to