Repository: ambari Updated Branches: refs/heads/branch-2.5 61fe14858 -> d9204601f refs/heads/trunk b4bb42a7d -> b7d8f5e97
AMBARI-19558. hivemetastore-report.json.tmp permission errors in hive metastore, HS2 logs (dgrinenko via dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8ee61968 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8ee61968 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8ee61968 Branch: refs/heads/branch-2.5 Commit: 8ee61968534930825b61bd36dd7f7a217fd39dd5 Parents: 61fe148 Author: Lisnichenko Dmitro <[email protected]> Authored: Tue Jan 17 11:55:56 2017 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Tue Jan 17 12:05:39 2017 +0200 ---------------------------------------------------------------------- .../2.5/services/HIVE/configuration/hivemetastore-site.xml | 7 +------ .../HIVE/configuration/hiveserver2-interactive-site.xml | 7 +------ .../HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml | 7 +------ .../src/test/python/stacks/2.0.6/configs/default.json | 2 +- .../test/python/stacks/2.0.6/configs/default_hive_nn_ha.json | 2 +- .../python/stacks/2.0.6/configs/default_hive_nn_ha_2.json | 2 +- .../python/stacks/2.0.6/configs/default_hive_non_hdfs.json | 2 +- .../test/python/stacks/2.0.6/configs/default_no_install.json | 2 +- .../src/test/python/stacks/2.0.6/configs/secured.json | 2 +- 9 files changed, 9 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/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..6dbdd77 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 @@ -27,7 +27,7 @@ limitations under the License. </property> <property> <name>hive.service.metrics.reporter</name> - <value>JSON_FILE, JMX, HADOOP2</value> + <value>HADOOP2</value> <on-ambari-upgrade add="true"/> </property> <property> @@ -35,9 +35,4 @@ limitations under the License. <value>hivemetastore</value> <on-ambari-upgrade add="true"/> </property> - <property> - <name>hive.service.metrics.file.location</name> - <value>/var/log/hive/hivemetastore-report.json</value> - <on-ambari-upgrade add="true"/> - </property> </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/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..ba5b36c 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 @@ -27,7 +27,7 @@ limitations under the License. </property> <property> <name>hive.service.metrics.reporter</name> - <value>JSON_FILE, JMX, HADOOP2</value> + <value>HADOOP2</value> <on-ambari-upgrade add="true"/> </property> <property> @@ -36,11 +36,6 @@ limitations under the License. <on-ambari-upgrade add="true"/> </property> <property> - <name>hive.service.metrics.file.location</name> - <value>/var/log/hive/hiveserver2Interactive-report.json</value> - <on-ambari-upgrade add="true"/> - </property> - <property> <name>hive.async.log.enabled</name> <value>false</value> <description>Whether to enable Log4j2's asynchronous logging. Asynchronous logging can give significant performance improvement as logging will be handled in separate thread that uses LMAX disruptor queue for buffering log messages. Refer https://logging.apache.org/log4j/2.x/manual/async.html for benefits and drawbacks.</description> http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/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..2b2b595 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 @@ -27,7 +27,7 @@ limitations under the License. </property> <property> <name>hive.service.metrics.reporter</name> - <value>JSON_FILE, JMX, HADOOP2</value> + <value>HADOOP2</value> <on-ambari-upgrade add="true"/> </property> <property> @@ -35,9 +35,4 @@ limitations under the License. <value>hiveserver2</value> <on-ambari-upgrade add="true"/> </property> - <property> - <name>hive.service.metrics.file.location</name> - <value>/var/log/hive/hiveserver2-report.json</value> - <on-ambari-upgrade add="true"/> - </property> </configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/ambari-server/src/test/python/stacks/2.0.6/configs/default.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/default.json b/ambari-server/src/test/python/stacks/2.0.6/configs/default.json index f54b645..849b737 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/configs/default.json +++ b/ambari-server/src/test/python/stacks/2.0.6/configs/default.json @@ -431,7 +431,7 @@ }, "hiveserver2-site": { "hive.metastore.metrics.enabled": "true", - "hive.service.metrics.reporter": "JSON_FILE, JMX, HADOOP2" + "hive.service.metrics.reporter": "HADOOP2" }, "ranger-hive-plugin-properties": { "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900", http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha.json b/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha.json index be8866d..2b92cca 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha.json +++ b/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha.json @@ -254,7 +254,7 @@ }, "hiveserver2-site": { "hive.metastore.metrics.enabled": "true", - "hive.service.metrics.reporter": "JSON_FILE, JMX, HADOOP2" + "hive.service.metrics.reporter": "HADOOP2" }, "ranger-hive-plugin-properties": { "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900", http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha_2.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha_2.json b/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha_2.json index ede360b..acac36f 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha_2.json +++ b/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha_2.json @@ -256,7 +256,7 @@ }, "hiveserver2-site": { "hive.metastore.metrics.enabled": "true", - "hive.service.metrics.reporter": "JSON_FILE, JMX, HADOOP2" + "hive.service.metrics.reporter": "HADOOP2" }, "ranger-hive-plugin-properties": { "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900", http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json b/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json index d49868f..a02a874 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json +++ b/ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json @@ -420,7 +420,7 @@ }, "hiveserver2-site": { "hive.metastore.metrics.enabled": "true", - "hive.service.metrics.reporter": "JSON_FILE, JMX, HADOOP2" + "hive.service.metrics.reporter": "HADOOP2" }, "ranger-hive-plugin-properties": { "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900", http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json b/ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json index 5b8a0af..73c49a1 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json +++ b/ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json @@ -422,7 +422,7 @@ }, "hiveserver2-site": { "hive.metastore.metrics.enabled": "true", - "hive.service.metrics.reporter": "JSON_FILE, JMX, HADOOP2" + "hive.service.metrics.reporter": "HADOOP2" }, "ranger-hive-plugin-properties": { "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900", http://git-wip-us.apache.org/repos/asf/ambari/blob/8ee61968/ambari-server/src/test/python/stacks/2.0.6/configs/secured.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/secured.json b/ambari-server/src/test/python/stacks/2.0.6/configs/secured.json index 890b9f1..3367e1b 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/configs/secured.json +++ b/ambari-server/src/test/python/stacks/2.0.6/configs/secured.json @@ -538,7 +538,7 @@ }, "hiveserver2-site": { "hive.metastore.metrics.enabled": "true", - "hive.service.metrics.reporter": "JSON_FILE, JMX, HADOOP2" + "hive.service.metrics.reporter": "HADOOP2" }, "yarn-site": { "yarn.nodemanager.disk-health-checker.min-healthy-disks": "0.25",
