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


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

Branch: refs/heads/branch-2.5
Commit: 3cc61316cc04b3591223a1db18f3eaf02bb2d21e
Parents: 4e668ca
Author: Di Li <[email protected]>
Authored: Thu Jul 6 14:07:15 2017 -0400
Committer: Di Li <[email protected]>
Committed: Thu Jul 6 14:07:15 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/3cc61316/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 d1cd81f..419e5dd 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
@@ -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/3cc61316/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 419bb5a..c4737c9 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
@@ -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">

Reply via email to