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 2017/07/17 23:41:43 UTC
ambari git commit: AMBARI-21502. Cross-stack migration from
BigInsights to HDP,
EU needs to set hive-site custom.hive.warehouse.mode to 0770 (alejandro)
Repository: ambari
Updated Branches:
refs/heads/branch-2.5 9cd7fbe0a -> d8a5bad1b
AMBARI-21502. Cross-stack migration from BigInsights to HDP, EU needs to set hive-site custom.hive.warehouse.mode to 0770 (alejandro)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d8a5bad1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d8a5bad1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d8a5bad1
Branch: refs/heads/branch-2.5
Commit: d8a5bad1b4b67367818646e7b65a2419021bb420
Parents: 9cd7fbe
Author: Alejandro Fernandez <af...@hortonworks.com>
Authored: Mon Jul 17 12:35:27 2017 -0700
Committer: Alejandro Fernandez <af...@hortonworks.com>
Committed: Mon Jul 17 16:42:56 2017 -0700
----------------------------------------------------------------------
.../stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml | 9 +++++++--
.../4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml | 7 +++++--
.../stacks/BigInsights/4.2/upgrades/config-upgrade.xml | 9 +++++++--
.../4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml | 7 +++++--
4 files changed, 24 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d8a5bad1/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 8c009a7..e476d57 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
@@ -134,7 +134,7 @@
<service name="HIVE">
<component name="HIVE_SERVER">
<changes>
- <definition xsi:type="configure" id="biginsights_4_2_0_0_hive_server_configure_authentication" summary="Configuring hive authentication">
+ <definition xsi:type="configure" id="biginsights_4_2_hive_server_configure_authentication" summary="Configuring hive authentication">
<type>hive-site</type>
<transfer operation="delete" delete-key="hive.metastore.event.listeners" if-key="hive.metastore.event.listeners" if-type="hive-site" if-value="com.ibm.biginsights.bigsql.sync.BIEventListener"/>
<transfer operation="delete" delete-key="hive.server2.authentication.ldap.url" if-key="hive.server2.authentication" if-type="hive-site" if-value="NONE"/>
@@ -167,10 +167,15 @@
<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">
+ <definition xsi:type="configure" id="biginsights_4_2_hive_env_configure" summary="Configuring hive-env for MariaDB/RedHat7 support">
<type>hive-env</type>
<set key="mariadb_redhat_support" value="true"/>
</definition>
+
+ <definition xsi:type="configure" id="biginsights_4_2_hive_permissions" summary="Configuring hive-site permissions">
+ <type>hive-site</type>
+ <set key="custom.hive.warehouse.mode" value="0770" if-type="hive-site" if-key="custom.hive.warehouse.mode" if-key-state="absent"/>
+ </definition>
</changes>
</component>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d8a5bad1/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 7c1a9ce..cbd0550 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
@@ -255,10 +255,13 @@
<!-- 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"/>
+ <task xsi:type="configure" id="biginsights_4_2_hive_env_configure"/>
+ </execute-stage>
+ <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply permission config changes for Hive Server">
+ <task xsi:type="configure" id="biginsights_4_2_hive_permissions"/>
</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"/>
+ <task xsi:type="configure" id="biginsights_4_2_hive_server_configure_authentication"/>
</execute-stage>
<execute-stage service="HIVE" component="WEBHCAT_SERVER" title="Apply config changes for Hive WebHCat server">
<task xsi:type="configure" id="biginsights_4_2_webhcat_server_update_environment_configurations" />
http://git-wip-us.apache.org/repos/asf/ambari/blob/d8a5bad1/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 310e504..dada6e2 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
@@ -158,7 +158,7 @@
<service name="HIVE">
<component name="HIVE_SERVER">
<changes>
- <definition xsi:type="configure" id="biginsights_4_2_0_0_hive_server_configure_authentication" summary="Configuring hive authentication">
+ <definition xsi:type="configure" id="biginsights_4_2_hive_server_configure_authentication" summary="Configuring hive authentication">
<type>hive-site</type>
<transfer operation="delete" delete-key="hive.metastore.event.listeners" if-key="hive.metastore.event.listeners" if-type="hive-site" if-value="com.ibm.biginsights.bigsql.sync.BIEventListener"/>
<transfer operation="delete" delete-key="hive.server2.authentication.ldap.url" if-key="hive.server2.authentication" if-type="hive-site" if-value="NONE"/>
@@ -191,10 +191,15 @@
<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">
+ <definition xsi:type="configure" id="biginsights_4_2_hive_env_configure" summary="Configuring hive-env for MariaDB/RedHat7 support">
<type>hive-env</type>
<set key="mariadb_redhat_support" value="true"/>
</definition>
+
+ <definition xsi:type="configure" id="biginsights_4_2_hive_permissions" summary="Configuring hive-site permissions">
+ <type>hive-site</type>
+ <set key="custom.hive.warehouse.mode" value="0770" if-type="hive-site" if-key="custom.hive.warehouse.mode" if-key-state="absent"/>
+ </definition>
</changes>
</component>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d8a5bad1/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 5b8f8d9..3ea20ed 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
@@ -212,10 +212,13 @@
<!-- 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"/>
+ <task xsi:type="configure" id="biginsights_4_2_hive_env_configure"/>
+ </execute-stage>
+ <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply permission config changes for Hive Server">
+ <task xsi:type="configure" id="biginsights_4_2_hive_permissions"/>
</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"/>
+ <task xsi:type="configure" id="biginsights_4_2_hive_server_configure_authentication"/>
</execute-stage>
<execute-stage service="HIVE" component="WEBHCAT_SERVER" title="Apply config changes for Hive WebHCat server">
<task xsi:type="configure" id="biginsights_4_2_webhcat_server_update_environment_configurations" />