Repository: ambari
Updated Branches:
  refs/heads/trunk 480bf5a73 -> 93cb5885a


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/93cb5885
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/93cb5885
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/93cb5885

Branch: refs/heads/trunk
Commit: 93cb5885a038f4c9cd07dbee05fd624f6fba23c2
Parents: 480bf5a
Author: Sumit Mohanty <[email protected]>
Authored: Sun Aug 7 09:07:13 2016 -0700
Committer: Sumit Mohanty <[email protected]>
Committed: Sun Aug 7 09:07:13 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/93cb5885/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/93cb5885/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>


Reply via email to