ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [09/13] ambari git commit: AMBARI-21637. Hive CLI does not work after upgrade
Date Thu, 03 Aug 2017 12:27:57 GMT
AMBARI-21637. Hive CLI does not work after upgrade


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

Branch: refs/heads/branch-2.6
Commit: f7a51bf0a4656b1d7bce55ab5041dba7506b1379
Parents: 8f051fc
Author: Attila Doroszlai <adoroszlai@hortonworks.com>
Authored: Wed Aug 2 13:17:24 2017 +0200
Committer: Attila Doroszlai <adoroszlai@hortonworks.com>
Committed: Wed Aug 2 20:31:49 2017 +0200

----------------------------------------------------------------------
 .../stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml    | 9 +++++++++
 .../4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml        | 3 +++
 .../stacks/BigInsights/4.2/upgrades/config-upgrade.xml      | 9 +++++++++
 .../4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml          | 3 +++
 4 files changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f7a51bf0/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml
b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml
index 52a6cdc..d40d4d6 100644
--- a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml
@@ -185,6 +185,15 @@
     </service>
 
     <service name="HIVE">
+      <component name="HIVE_CLIENT">
+        <changes>
+          <definition xsi:type="configure" id="biginsights_4_2_hive_exectype_change" summary="Update
Hive Execution Engine">
+            <type>hive-site</type>
+            <set key="hive.execution.engine" value="mr" if-type="hive-site" if-key="hive.execution.engine"
if-value="tez"/>
+          </definition>
+        </changes>
+      </component>
+
       <component name="HIVE_SERVER">
         <changes>
           <definition xsi:type="configure" id="biginsights_4_2_hive_server_configure_authentication"
summary="Configuring hive authentication">

http://git-wip-us.apache.org/repos/asf/ambari/blob/f7a51bf0/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
index 1fe0382..609a4fe 100644
--- a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
+++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
@@ -316,6 +316,9 @@
       </execute-stage>
 
       <!-- HIVE -->
+      <execute-stage service="HIVE" component="HIVE_CLIENT" title="Update Hive Execution
Engine">
+        <task xsi:type="configure" id="biginsights_4_2_hive_exectype_change"/>
+      </execute-stage>
       <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply config changes
for Hive Server">
         <task xsi:type="configure" id="biginsights_4_2_hive_env_configure"/>
       </execute-stage>

http://git-wip-us.apache.org/repos/asf/ambari/blob/f7a51bf0/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
index 17e80b5..9c9737f 100644
--- a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
@@ -211,6 +211,15 @@
     </service>
 
     <service name="HIVE">
+      <component name="HIVE_CLIENT">
+        <changes>
+          <definition xsi:type="configure" id="biginsights_4_2_hive_exectype_change" summary="Update
Hive Execution Engine">
+            <type>hive-site</type>
+            <set key="hive.execution.engine" value="mr" if-type="hive-site" if-key="hive.execution.engine"
if-value="tez"/>
+          </definition>
+        </changes>
+      </component>
+
       <component name="HIVE_SERVER">
         <changes>
           <definition xsi:type="configure" id="biginsights_4_2_hive_server_configure_authentication"
summary="Configuring hive authentication">

http://git-wip-us.apache.org/repos/asf/ambari/blob/f7a51bf0/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
index 55736cf..f409dd4 100644
--- a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
+++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
@@ -267,6 +267,9 @@
       </execute-stage>
 
       <!-- HIVE -->
+      <execute-stage service="HIVE" component="HIVE_CLIENT" title="Update Hive Execution
Engine">
+        <task xsi:type="configure" id="biginsights_4_2_hive_exectype_change"/>
+      </execute-stage>
       <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply config changes
for Hive Server">
         <task xsi:type="configure" id="biginsights_4_2_hive_env_configure"/>
       </execute-stage>


Mime
View raw message