AMBARI-20347 Display Ranger DB backup instruction in sections on the manual 
step during EU and RU (dili)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/621ff153
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/621ff153
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/621ff153

Branch: refs/heads/branch-dev-logsearch
Commit: 621ff153389d756001b09f30186c28e20178116a
Parents: 66c94e9
Author: Di Li <[email protected]>
Authored: Wed Mar 8 14:37:46 2017 -0500
Committer: Di Li <[email protected]>
Committed: Wed Mar 8 14:37:46 2017 -0500

----------------------------------------------------------------------
 .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml    | 10 ++++++----
 .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml    |  8 ++++----
 .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml    |  8 ++++----
 .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml    |  8 ++++----
 .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml    |  8 ++++----
 .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml    |  8 ++++----
 .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml    |  8 ++++----
 7 files changed, 30 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/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 396bf30..28ca939 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
@@ -153,10 +153,12 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>
+            Before continuing, please backup the Ranger Admin database and 
Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
+          </message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/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 b95bae5..9aff1a9 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
@@ -154,10 +154,10 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:</message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/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 be2694e..adccac0 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
@@ -171,10 +171,10 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:</message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml
index 773753d..b4b8f2a 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml
@@ -173,10 +173,10 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:</message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/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 1e6c18a..3c0104b 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
@@ -153,10 +153,10 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:</message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/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 a6c595a..cd63651 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
@@ -165,10 +165,10 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:</message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/621ff153/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
index eb2c18a..aa90ac0 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
@@ -167,10 +167,10 @@
 
       <execute-stage service="RANGER" component="RANGER_ADMIN" title="Backup 
Ranger Database">
         <task xsi:type="manual">
-          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:
-            1. Backup the audit table from audit database.
-            2. Truncate audit table.
-            3. Follow upgrade process and once completed then restore audit 
data to audit table.</message>
+          <message>Before continuing, please backup the Ranger Admin database 
and Ranger Audit database on the following host(s): {{hosts.all}}. If audit 
database size is too large (greater than 3GB) then follow the below 
instructions:</message>
+          <message>1. Backup the audit table from audit database.</message>
+          <message>2. Truncate audit table.</message>
+          <message>3. Follow upgrade process and once completed then restore 
audit data to audit table.</message>
         </task>
       </execute-stage>
 

Reply via email to