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/112cea45 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/112cea45 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/112cea45 Branch: refs/heads/branch-dev-patch-upgrade Commit: 112cea4506ad18b49aa56989f1b1db786565ee50 Parents: b4bb42a Author: Lisnichenko Dmitro <[email protected]> Authored: Tue Jan 17 11:55:56 2017 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Tue Jan 17 12:06:14 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/112cea45/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 bb248b3..1db1668 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 @@ -35,7 +35,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> @@ -43,9 +43,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/112cea45/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 e8b6bc8..d3b4dfd 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 @@ -35,7 +35,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> @@ -44,11 +44,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/112cea45/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 bd1821d..255598f 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 @@ -35,7 +35,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> @@ -43,9 +43,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/112cea45/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/112cea45/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/112cea45/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/112cea45/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/112cea45/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/112cea45/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",
