AMBARI-14883. Express Upgrade - All Service Checks Failure - Queue State (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9f9e89af Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9f9e89af Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9f9e89af Branch: refs/heads/branch-dev-patch-upgrade Commit: 9f9e89afb2fd927500718321dc658fb7e0292bad Parents: bdd261e Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Fri Sep 16 11:35:39 2016 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Fri Sep 16 11:35:39 2016 +0300 ---------------------------------------------------------------------- .../stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml | 10 ++++++++++ .../stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml | 11 +++++++++++ .../stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml | 11 +++++++++++ .../stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml | 11 +++++++++++ .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml | 11 +++++++++++ .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml | 13 +++++++++++++ .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml | 11 +++++++++++ .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml | 11 +++++++++++ .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml | 11 +++++++++++ .../stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml | 11 +++++++++++ 10 files changed, 111 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml b/ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml index 8cba53f..e3bb29d 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml @@ -628,6 +628,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml index 5aee3a8..d282888 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml @@ -554,6 +554,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -576,6 +586,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml index 66ef30e..391524a 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml @@ -856,6 +856,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -878,6 +888,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml index 2d921a2..27a41f4 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml @@ -895,6 +895,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -917,6 +927,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml index e3957d6..d3b2696 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml @@ -629,6 +629,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -651,6 +661,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml index 8603e24..38c8796 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml @@ -679,6 +679,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -701,7 +711,10 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> + + </order> <processing> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml index d6fa4f3..c8b1e8c 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml @@ -812,6 +812,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -834,6 +844,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml index 9622031..b5c5c03 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml @@ -622,6 +622,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -644,6 +654,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml index 0229719..0a14581 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml @@ -763,6 +763,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -785,6 +795,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order> http://git-wip-us.apache.org/repos/asf/ambari/blob/9f9e89af/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml index 69405c5..1df16a2 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml @@ -686,6 +686,16 @@ </execute-stage> </group> + <group xsi:type="cluster" name="MANUAL_STEPS" title="Finishing Upgrade"> + <direction>UPGRADE</direction> + + <execute-stage service="YARN" component="RESOURCEMANAGER" title="Start YARN Queues"> + <task xsi:type="manual"> + <message>Please start previously stopped YARN queues. If yarn-site's yarn.resourcemanager.work-preserving-recovery.enabled is set to true, then you can skip this step since the clients will retry on their own.</message> + </task> + </execute-stage> + </group> + <group xsi:type="cluster" name="POST_CLUSTER" title="Finalize {{direction.text.proper}}"> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -708,6 +718,7 @@ <task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FinalizeUpgradeAction"> </task> </execute-stage> + </group> </order>