Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Enable metrics on the Hive Metastore Service.

 hive.server2.metrics.enabled

...

Enable metrics on the HiveServer2.

 hive.service.metrics.class

...

  • Default Value:  "/tmp/report.json"
  • Added in: Hive 1.3 and 2.0 with HIVE-10761 

For hive.service.metrics.class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics and hive.service.metrics.reporter JSON_FILE, this is the location of local JSON metrics file dump.  This file will get overwritten at every interval of hive.service.metrics.file.frequency.

 hive.service.metrics.file.frequency

...