Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: trivial edits of Metrics section (thanks, Szehon)

...

Number of threads used by partialscan/noscan analyze command for partitioned tables. This is applicable only for file formats that implement the StatsProvidingRecordReader interface (like ORC).

 

Authentication/Authorization

...

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

Enable metrics on the Hive Metastore Service.

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

Enable metrics on the HiveServer2.

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

Hive metrics subsystem implementation class.  "org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics" is the new implementation.  To To revert back to the 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.0 and 2.0.0 with HIVE-10761

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

hive.service.metrics.file.location
  • Default Value:  "/tmp/report.json"
  • Added in: Hive 1.3.0 and 2.0.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 the local JSON metrics file dump.  This 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.0 and 2.0.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 the JSON metrics file.

Clustering

...