Repository: ambari Updated Branches: refs/heads/branch-2.4 9beb51598 -> 0f89b863b
AMBARI-18056. Zeppelin service: add manual steps and restart task for RU/EU (Renjith Kamath via smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0f89b863 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0f89b863 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0f89b863 Branch: refs/heads/branch-2.4 Commit: 0f89b863b7227d934dfffddc67f1a0da8f8f9674 Parents: 9beb515 Author: Sumit Mohanty <[email protected]> Authored: Sun Aug 7 09:07:13 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sun Aug 7 09:08:12 2016 -0700 ---------------------------------------------------------------------- .../HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml | 21 +++++++++++++++++++- .../stacks/HDP/2.5/upgrades/upgrade-2.5.xml | 13 ++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/0f89b863/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 370373b..0044f11 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 @@ -176,6 +176,12 @@ <message>Before continuing, please backup Ranger KMS database on the following host(s): {{hosts.all}}.</message> </task> </execute-stage> + + <execute-stage service="ZEPPELIN" component="ZEPPELIN_MASTER" title="Pre Upgrade Zeppelin notebooks Backup"> + <task xsi:type="manual"> + <message>Before continuing, please backup Zeppelin notebooks directory on the following host(s): {{hosts.all}}.</message> + </task> + </execute-stage> </group> <group xsi:type="stop" name="STOP_LOW_LEVEL_SERVICE_COMPONENTS" title="Stop Components for Core Services"> @@ -249,6 +255,11 @@ </task> </execute-stage> + <execute-stage service="ZEPPELIN" component="ZEPPELIN_MASTER" title="Restore Zeppelin notebooks directory"> + <task xsi:type="manual"> + <message>Before continuing, please restore Zeppelin notebooks directory</message> + </task> + </execute-stage> </group> <!-- After processing this group, will change the effective Stack of the UpgradeContext object. --> @@ -510,7 +521,7 @@ </service> </group> - <group xsi:type="restart" name="ZEPPELIN" title="Spark"> + <group xsi:type="restart" name="ZEPPELIN" title="Zeppelin"> <service-check>false</service-check> <skippable>true</skippable> <supports-auto-skip-failure>false</supports-auto-skip-failure> @@ -968,6 +979,14 @@ </component> </service> + <service name="ZEPPELIN"> + <component name="ZEPPELIN_MASTER"> + <upgrade> + <task xsi:type="restart-task"/> + </upgrade> + </component> + </service> + <service name="OOZIE"> <component name="OOZIE_SERVER"> <pre-upgrade> http://git-wip-us.apache.org/repos/asf/ambari/blob/0f89b863/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml index e3b6da3..cfb39c8 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml @@ -108,6 +108,11 @@ <message>Before continuing, please backup Ranger KMS database on the following host(s): {{hosts.all}}.</message> </task> </execute-stage> + <execute-stage service="ZEPPELIN" component="ZEPPELIN_MASTER" title="Pre Upgrade Zeppelin notebooks Backup"> + <task xsi:type="manual"> + <message>Before continuing, please backup Zeppelin notebooks directory on the following host(s): {{hosts.all}}.</message> + </task> + </execute-stage> </group> <group name="ZOOKEEPER" title="ZooKeeper"> @@ -778,6 +783,14 @@ </component> </service> + <service name="ZEPPELIN"> + <component name="ZEPPELIN_MASTER"> + <upgrade> + <task xsi:type="restart-task" /> + </upgrade> + </component> + </service> + <service name="OOZIE"> <component name="OOZIE_SERVER"> <pre-upgrade>
