You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/01/12 22:09:39 UTC
ambari git commit: AMBARI-14581. EU - orchestration of Hive Server
and MetaStore needs to be sequential (alejandro)
Repository: ambari
Updated Branches:
refs/heads/trunk 91f4c05c5 -> faeb73912
AMBARI-14581. EU - orchestration of Hive Server and MetaStore needs to be sequential (alejandro)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/faeb7391
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/faeb7391
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/faeb7391
Branch: refs/heads/trunk
Commit: faeb7391277cd2c1039fd58085ab9765c050355d
Parents: 91f4c05
Author: Alejandro Fernandez <af...@hortonworks.com>
Authored: Mon Jan 11 17:30:12 2016 -0800
Committer: Alejandro Fernandez <af...@hortonworks.com>
Committed: Tue Jan 12 13:08:07 2016 -0800
----------------------------------------------------------------------
.../HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml | 16 ++++++++++++++--
.../HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml | 16 ++++++++++++++--
.../HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml | 16 ++++++++++++++--
.../HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml | 16 ++++++++++++++--
.../HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml | 16 ++++++++++++++--
.../HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml | 16 ++++++++++++++--
.../HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml | 16 ++++++++++++++--
7 files changed, 98 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 c9f94c4..ec95ef8 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
@@ -475,15 +475,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 e57b13f..cbd9c2a 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
@@ -370,15 +370,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 b1c3739..5dfa2bd 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
@@ -640,15 +640,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 eee048b..ff68982 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
@@ -678,15 +678,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 c34a979..080f69f 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
@@ -416,15 +416,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 49e4020..b53fcf7 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
@@ -432,15 +432,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/faeb7391/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 eca5eda..a9ee860 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
@@ -417,15 +417,27 @@
</priority>
</group>
- <group xsi:type="restart" name="HIVE" title="Hive">
+ <group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
<supports-auto-skip-failure>false</supports-auto-skip-failure>
- <parallel-scheduler/>
+ <!-- Must be ran sequentially because Hive Metastore upgrades the schema and Hive Server copies tarballs. -->
+ <parallel-scheduler>
+ <max-degree-of-parallelism>1</max-degree-of-parallelism>
+ </parallel-scheduler>
<service name="HIVE">
<component>HIVE_METASTORE</component>
<component>HIVE_SERVER</component>
<component>WEBHCAT_SERVER</component>
+ </service>
+ </group>
+
+ <group xsi:type="restart" name="HIVE_CLIENTS" title="Hive Clients">
+ <service-check>false</service-check>
+ <skippable>true</skippable>
+ <supports-auto-skip-failure>false</supports-auto-skip-failure>
+ <parallel-scheduler/>
+ <service name="HIVE">
<component>HIVE_CLIENT</component>
<component>HCAT</component>
</service>