AMBARI-7330. Add HiveServer2 dynamic service discovery configs to Ambari (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a8fb52f3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a8fb52f3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a8fb52f3 Branch: refs/heads/branch-alerts-dev Commit: a8fb52f33c3137313b8651590b828e1cad3da7ff Parents: f8aa99b Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Tue Sep 16 16:48:03 2014 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Tue Sep 16 16:48:03 2014 +0300 ---------------------------------------------------------------------- .../services/HIVE/configuration/hive-site.xml | 19 +++++++++++++++++++ .../services/HIVE/configuration/hive-site.xml | 19 +++++++++++++++++++ .../services/HIVE/configuration/hive-site.xml | 19 +++++++++++++++++++ .../services/HIVE/configuration/hive-site.xml | 19 +++++++++++++++++++ ambari-web/app/data/HDP2/site_properties.js | 9 +++++++++ ambari-web/app/data/site_properties.js | 9 +++++++++ 6 files changed, 94 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a8fb52f3/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-site.xml index 8206a6a..524a27b 100644 --- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-site.xml @@ -257,4 +257,23 @@ limitations under the License. </description> </property> + <property> + <name>hive.server2.support.dynamic.service.discovery</name> + <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 + should use the ZooKeeper ensemble: hive.zookeeper.quorum in their + connection string. + </description> + </property> + + <property> + <name>hive.server2.zookeeper.namespace</name> + <value>hiveserver2</value> + <description>The parent node in ZooKeeper used by HiveServer2 when + supporting dynamic service discovery. + </description> + </property> + </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/a8fb52f3/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 9057fbe..e64e6a0 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 @@ -309,4 +309,23 @@ limitations under the License. </description> </property> + <property> + <name>hive.server2.support.dynamic.service.discovery</name> + <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 + should use the ZooKeeper ensemble: hive.zookeeper.quorum in their + connection string. + </description> + </property> + + <property> + <name>hive.server2.zookeeper.namespace</name> + <value>hiveserver2</value> + <description>The parent node in ZooKeeper used by HiveServer2 when + supporting dynamic service discovery. + </description> + </property> + </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/a8fb52f3/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml index 8b4f065..ad1df07 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml @@ -480,4 +480,23 @@ limitations under the License. </description> </property> + <property> + <name>hive.server2.support.dynamic.service.discovery</name> + <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 + should use the ZooKeeper ensemble: hive.zookeeper.quorum in their + connection string. + </description> + </property> + + <property> + <name>hive.server2.zookeeper.namespace</name> + <value>hiveserver2</value> + <description>The parent node in ZooKeeper used by HiveServer2 when + supporting dynamic service discovery. + </description> + </property> + </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/a8fb52f3/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml index 9beb715..e15ca56 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml @@ -514,4 +514,23 @@ limitations under the License. </description> </property> + <property> + <name>hive.server2.support.dynamic.service.discovery</name> + <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 + should use the ZooKeeper ensemble: hive.zookeeper.quorum in their + connection string. + </description> + </property> + + <property> + <name>hive.server2.zookeeper.namespace</name> + <value>hiveserver2</value> + <description>The parent node in ZooKeeper used by HiveServer2 when + supporting dynamic service discovery. + </description> + </property> + </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/a8fb52f3/ambari-web/app/data/HDP2/site_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/HDP2/site_properties.js b/ambari-web/app/data/HDP2/site_properties.js index e2cb1cf..8643095 100644 --- a/ambari-web/app/data/HDP2/site_properties.js +++ b/ambari-web/app/data/HDP2/site_properties.js @@ -525,6 +525,15 @@ module.exports = "category": "Advanced hive-site", "serviceName": "HIVE" }, + { + "id": "site property", + "name": "hive.server2.support.dynamic.service.discovery", + "displayName": "hive.server2.support.dynamic.service.discovery", + "defaultValue": false, + "displayType": "checkbox", + "category": "Advanced hive-site", + "serviceName": "HIVE" + }, /**********************************************tez-site*****************************************/ { "id": "site property", http://git-wip-us.apache.org/repos/asf/ambari/blob/a8fb52f3/ambari-web/app/data/site_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/site_properties.js b/ambari-web/app/data/site_properties.js index 60b997e..14c7045 100644 --- a/ambari-web/app/data/site_properties.js +++ b/ambari-web/app/data/site_properties.js @@ -517,6 +517,15 @@ module.exports = "category": "Advanced hive-site", "serviceName": "HIVE" }, + { + "id": "site property", + "name": "hive.server2.support.dynamic.service.discovery", + "displayName": "hive.server2.support.dynamic.service.discovery", + "defaultValue": false, + "displayType": "checkbox", + "category": "Advanced hive-site", + "serviceName": "HIVE" + }, /**********************************************hbase-site***************************************/ { "id": "site property",