Repository: ambari Updated Branches: refs/heads/branch-1.7.0 f9a31da4b -> 6e40a15d4 refs/heads/trunk 4c62073d8 -> 442ccdd4f
AMBARI-7723. configure hive token store to use zookeeper based token store (BE changes) - post-clarification (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/442ccdd4 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/442ccdd4 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/442ccdd4 Branch: refs/heads/trunk Commit: 442ccdd4f98579943118307cb86d33583e0eec80 Parents: 4c62073 Author: Lisnichenko Dmitro <[email protected]> Authored: Mon Oct 13 17:07:35 2014 +0300 Committer: Lisnichenko Dmitro <[email protected]> Committed: Mon Oct 13 17:07:35 2014 +0300 ---------------------------------------------------------------------- .../services/HIVE/configuration/hive-site.xml | 14 +----------- .../services/HIVE/configuration/hive-site.xml | 23 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/442ccdd4/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-site.xml index 2cd5a47..4371932 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-site.xml @@ -311,7 +311,7 @@ limitations under the License. <property> <name>hive.server2.support.dynamic.service.discovery</name> - <value>true</value> + <value>false</value> <description>Whether HiveServer2 supports dynamic service discovery for its clients. To support this, each instance of HiveServer2 currently uses ZooKeeper to register itself, when it is brought up. JDBC/ODBC clients @@ -334,16 +334,4 @@ limitations under the License. </description> </property> - <property> - <name>hive.cluster.delegation.token.store.class</name> - <value>org.apache.hadoop.hive.thrift.ZooKeeperTokenStore</value> - <description>The delegation token store implementation class.</description> - </property> - - <property> - <name>hive.cluster.delegation.token.store.zookeeper.connectString</name> - <value>localhost:2181</value> - <description>The ZooKeeper token store connect string.</description> - </property> - </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/442ccdd4/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml index c1e8fa6..8fd22b0 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml @@ -32,4 +32,27 @@ limitations under the License. <description>Comma-separated list of the location of the plugin jars that contain implementations of user defined functions and SerDes.</description> </property> + <property> + <name>hive.cluster.delegation.token.store.class</name> + <value>org.apache.hadoop.hive.thrift.ZooKeeperTokenStore</value> + <description>The delegation token store implementation class.</description> + </property> + + <property> + <name>hive.cluster.delegation.token.store.zookeeper.connectString</name> + <value>localhost:2181</value> + <description>The ZooKeeper token store connect string.</description> + </property> + + <property> + <name>hive.server2.support.dynamic.service.discovery</name> + <value>true</value> + <description>Whether HiveServer2 supports dynamic service discovery for its + clients. To support this, each instance of HiveServer2 currently uses + ZooKeeper to register itself, when it is brought up. JDBC/ODBC clients + should use the ZooKeeper ensemble: hive.zookeeper.quorum in their + connection string. + </description> + </property> + </configuration>
