AMBARI-18980. Add manual confirm task before finalizing host-ordered upgrade (Duc Le via ncole)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2c7c0a70 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2c7c0a70 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2c7c0a70 Branch: refs/heads/branch-feature-AMBARI-18456 Commit: 2c7c0a704f4230697b6757bdaad954d8c5d71c79 Parents: f31f3f6 Author: Nate Cole <nc...@hortonworks.com> Authored: Tue Nov 29 12:45:47 2016 -0500 Committer: Nate Cole <nc...@hortonworks.com> Committed: Tue Nov 29 12:45:59 2016 -0500 ---------------------------------------------------------------------- .../stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/2c7c0a70/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml index 72241eea..64c79a8 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-ordered-upgrade.xml @@ -117,14 +117,21 @@ <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> - + + <execute-stage title="Confirm Finalize"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>Please confirm you are ready to finalize.</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> <function>finalize_rolling_upgrade</function> </task> </execute-stage> - + <execute-stage title="Save Cluster State"> <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task>