Hive Metrics

 

The metrics that Hive collects can be viewed in the HiveServer2 Web UI by using the "Metrics Dump" tab.

The metrics dump will display any metric available over JMX encoded in JSON: 

Alternatively the metrics can be written directly into HDFS, a JSON file on the local file system where the HS2 instance is running or to the console by enabling the corresponding metric reporters. By default only the JMX and the JSON file reporter are enabled.

These metrics include:

Configuration properties for metrics can be found here:  Metrics.

See HiveServer2 Overview for more information about HiveServer2.