-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53742/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, and Duc Le.
Bugs: AMBARI-18879
https://issues.apache.org/jira/browse/AMBARI-18879
Repository: ambari
Description
-------
When executing a HOST_ORDERED upgrade, the host should have "hdp-select set
all" run ONLY for that host. This is similar to what we do during an RU across
all hosts after it's completed. When the stack supports reimaging, this step
can be removed as the entire host would have ONLY the new version anyway.
Made the host-group in the upgrade pack as skippable to allow a quick exit.
There was also some unused code in the AbstractUpgradeCatalog that shouldn't be
there.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/HostOrderGrouping.java
623fb76
ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
86f5c8d
ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml
37b75b8
ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
6b4b85a
Diff: https://reviews.apache.org/r/53742/diff/
Testing
-------
Manual verification. Automated pending.
Thanks,
Nate Cole