AMBARI-18948. hive metrics : support hs2 with remote metastore (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/292d2798 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/292d2798 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/292d2798 Branch: refs/heads/branch-feature-AMBARI-18634 Commit: 292d27987f7c0fa0265ba9d2f6c47f69cb9827c9 Parents: 31ce5f7 Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Wed Nov 23 11:08:31 2016 +0200 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Wed Nov 23 11:08:31 2016 +0200 ---------------------------------------------------------------------- .../2.5/services/HIVE/configuration/hivemetastore-site.xml | 8 ++++++++ .../HIVE/configuration/hiveserver2-interactive-site.xml | 8 ++++++++ .../HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml | 8 ++++++++ 3 files changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/292d2798/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hivemetastore-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hivemetastore-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hivemetastore-site.xml index b73b1ae..bb248b3 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hivemetastore-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hivemetastore-site.xml @@ -26,6 +26,14 @@ limitations under the License. <on-ambari-upgrade add="true"/> </property> <property> + <name>hive.server2.metrics.enabled</name> + <value>true</value> + <value-attributes> + <type>boolean</type> + </value-attributes> + <on-ambari-upgrade add="false"/> + </property> + <property> <name>hive.service.metrics.reporter</name> <value>JSON_FILE, JMX, HADOOP2</value> <on-ambari-upgrade add="true"/> http://git-wip-us.apache.org/repos/asf/ambari/blob/292d2798/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml index 89bf43c..e8b6bc8 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml @@ -26,6 +26,14 @@ limitations under the License. <on-ambari-upgrade add="true"/> </property> <property> + <name>hive.server2.metrics.enabled</name> + <value>true</value> + <value-attributes> + <type>boolean</type> + </value-attributes> + <on-ambari-upgrade add="false"/> + </property> + <property> <name>hive.service.metrics.reporter</name> <value>JSON_FILE, JMX, HADOOP2</value> <on-ambari-upgrade add="true"/> http://git-wip-us.apache.org/repos/asf/ambari/blob/292d2798/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml index e120ac2..bd1821d 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml @@ -26,6 +26,14 @@ limitations under the License. <on-ambari-upgrade add="true"/> </property> <property> + <name>hive.server2.metrics.enabled</name> + <value>true</value> + <value-attributes> + <type>boolean</type> + </value-attributes> + <on-ambari-upgrade add="false"/> + </property> + <property> <name>hive.service.metrics.reporter</name> <value>JSON_FILE, JMX, HADOOP2</value> <on-ambari-upgrade add="true"/>