You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by di...@apache.org on 2017/07/05 15:55:45 UTC

ambari git commit: AMBARI-21383: Update upgrade pack to set mariadb support property for hive (dili)

Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-21348 a5ce6b427 -> d0c147973


AMBARI-21383: Update upgrade pack to set mariadb support property for hive (dili)


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

Branch: refs/heads/branch-feature-AMBARI-21348
Commit: d0c14797322624fd2ff8238adb576645cb27a26d
Parents: a5ce6b4
Author: Di Li <di...@apache.org>
Authored: Wed Jul 5 11:55:18 2017 -0400
Committer: Di Li <di...@apache.org>
Committed: Wed Jul 5 11:55:18 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/d0c14797/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 d1cd81f..419e5dd 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
@@ -76,6 +76,10 @@
             <transfer operation="delete" delete-key="hive.server2.authentication.kerberos.principal" if-key="hive.server2.authentication" if-type="hive-site" if-value="custom"/>
           </definition>
           
+          <definition xsi:type="configure" id="biginsights_4_2_0_0_hive_env_configure" summary="Configuring hive env for MariaDB/RedHat7 support">
+            <type>hive-env</type>
+            <set key="mariadb_redhat_support" value="true"/>
+          </definition>
         </changes>
       </component>
       

http://git-wip-us.apache.org/repos/asf/ambari/blob/d0c14797/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 ac0f767..be54f84 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
@@ -185,6 +185,9 @@
       
       <!-- HIVE -->
       <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply config changes for Hive Server">
+        <task xsi:type="configure" id="biginsights_4_2_0_0_hive_env_configure"/>
+      </execute-stage>
+      <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply config changes for Hive Server">
         <task xsi:type="configure" id="biginsights_4_2_0_0_hive_server_configure_authentication"/>
       </execute-stage>      
       <execute-stage service="HIVE" component="WEBHCAT_SERVER" title="Apply config changes for Hive WebHCat server">