diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 54516007d32a..42233f743fa3 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -3649,10 +3649,10 @@ public static enum ConfVars { "Deprecated, use HIVE_CODAHALE_METRICS_REPORTER_CLASSES instead. This configuration will be" + " overridden by HIVE_CODAHALE_METRICS_REPORTER_CLASSES if present. " + "Comma separated list of JMX, CONSOLE, JSON_FILE, HADOOP2"), - HIVE_METRICS_JSON_FILE_LOCATION("hive.service.metrics.file.location", "/tmp/report.json", + HIVE_METRICS_JSON_FILE_LOCATION("hive.service.metrics.file.location", "/tmp/hs2-report.json", "For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the location of local JSON metrics file. " + "This file will get overwritten at every interval."), - HIVE_METRICS_JSON_FILE_INTERVAL("hive.service.metrics.file.frequency", "5000ms", + HIVE_METRICS_JSON_FILE_INTERVAL("hive.service.metrics.file.frequency", "60000ms", new TimeValidator(TimeUnit.MILLISECONDS), "For metric class org.apache.hadoop.hive.common.metrics.metrics2.JsonFileMetricsReporter, " + "the frequency of updating JSON metrics file."), diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index 3a4d7a173d49..d68254d01757 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java @@ -1229,7 +1229,7 @@ public enum ConfVars { "hive.service.metrics.file.frequency", 60000, TimeUnit.MILLISECONDS, "For json metric reporter, the frequency of updating JSON metrics file."), METRICS_JSON_FILE_LOCATION("metastore.metrics.file.location", - "hive.service.metrics.file.location", "/tmp/report.json", + "hive.service.metrics.file.location", "/tmp/hms-report.json", "For metric class json metric reporter, the location of local JSON metrics file. " + "This file will get overwritten at every interval."), METRICS_SLF4J_LOG_FREQUENCY_MINS("metastore.metrics.slf4j.frequency",