You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2015/12/10 00:06:31 UTC
ambari git commit: AMBARI-14303 - HiveServer Upgrade Fails Because Of
Invalid Token Store Class (jonathanhurley)
Repository: ambari
Updated Branches:
refs/heads/trunk a46245228 -> c35b47d13
AMBARI-14303 - HiveServer Upgrade Fails Because Of Invalid Token Store Class (jonathanhurley)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c35b47d1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c35b47d1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c35b47d1
Branch: refs/heads/trunk
Commit: c35b47d13cb5985aebe15c7330f90b1691dee1f4
Parents: a462452
Author: Jonathan Hurley <jh...@hortonworks.com>
Authored: Wed Dec 9 17:14:46 2015 -0500
Committer: Jonathan Hurley <jh...@hortonworks.com>
Committed: Wed Dec 9 18:06:25 2015 -0500
----------------------------------------------------------------------
.../stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml | 6 ++++--
.../resources/stacks/HDP/2.2/upgrades/config-upgrade.xml | 8 ++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/c35b47d1/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 2341dcc..678b5ab 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
@@ -293,6 +293,10 @@
<!--HIVE-->
<execute-stage service="HIVE" component="HIVE_SERVER" title="Apply config changes for Hive Server">
+ <task xsi:type="configure" id="hdp_2_2_0_0_hive_server_keberized_token_store_class"/>
+ </execute-stage>
+
+ <execute-stage service="HIVE" component="HIVE_SERVER" title="Apply config changes for Hive Server">
<task xsi:type="configure" id="hdp_2_3_0_0_hive_server_replace_auth_manager"/>
</execute-stage>
@@ -308,7 +312,6 @@
<task xsi:type="configure" id="hdp_2_3_0_0_webhcat_server_update_configuration_paths"/>
</execute-stage>
-
<!--OOZIE-->
<execute-stage service="OOZIE" component="OOZIE_SERVER" title="Apply config changes for Oozie Server">
<task xsi:type="configure" id="hdp_2_3_0_0_oozie_remove_redundant_configurations"/>
@@ -336,7 +339,6 @@
<task xsi:type="configure" id="hdp_2_3_0_0_add_storm_worker_logs_content"/>
</execute-stage>
-
<execute-stage service="STORM" component="NIMBUS" title="Apply config changes for Nimbus">
<task xsi:type="configure" id="hdp_2_3_0_0_nimbus_update_env_vars"/>
</execute-stage>
http://git-wip-us.apache.org/repos/asf/ambari/blob/c35b47d1/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/config-upgrade.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/config-upgrade.xml
index 8c3e7da..1eab4ca 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/config-upgrade.xml
@@ -69,6 +69,14 @@
<value>10001</value>
</condition>
</definition>
+
+ <definition xsi:type="configure" id="hdp_2_2_0_0_hive_server_keberized_token_store_class">
+ <condition type="cluster-env" key="security_enabled" value="true">
+ <type>hive-site</type>
+ <key>hive.cluster.delegation.token.store.class</key>
+ <value>org.apache.hadoop.hive.thrift.DBTokenStore</value>
+ </condition>
+ </definition>
</changes>
</component>
</service>