Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added the metrics subsection

...

Clean extra nodes at the end of the session.

Metrics

hive.metastore.metrics.enabled
  • Default Value: false
  • Added in: Hive 1.3 and 2.0 with HIVE-10761

Enable metrics on the Hive Metastore Service.

 hive.server2.metrics.enabled
  • Default Value: false
  • Added in: Hive 1.3 and 2.0 with HIVE-10761

Enable metrics on the HiveServer2.

 hive.service.metrics.class
  • Default Value:  org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics
  • Added in: Hive 1.3 and 2.0 with HIVE-10761

Hive metrics subsystem implementation class.  "org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics" is the new implementation.  To revert back to old implementation before Hive 1.3 and 2.0 along with its built-in JMX reporting capabilities, choose "org.apache.hadoop.hive.common.metrics.LegacyMetrics".

hive.service.metrics.reporter
  • Default Value:  "JSON_FILE, JMX"
  • Added in: Hive 1.3 and 2.0 with HIVE-10761

Reporter type for metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics, comma separated list of JMX, CONSOLE, JSON_FILE"

hive.service.metrics.file.location
  • 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
  • Default Value:  5 seconds
  • 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 frequency of updating JSON metrics file.

Clustering

hive.cluster.delegation.token.store.class

...