Hive JMX Metrics

Every 10 seconds, the collectd service uses the Hive plug-in to gather the following Hive JMX metrics on each node in the cluster. Descriptions for the Hive metrics are not currently available.

Metric Collection

Metrics collected in Hive relate specifically to the HiveServer2 and Hive metastore processes. Each process runs in a separate JVM, and the JVMs provide values for the metrics.

Starting in MEP 6.3.2 and MEP 7.0.1, the hive.exec.submit.local.task.via.child option (in hive-site.xml) is set to true, by default, and enables HiveServer2 to spawn local tasks (typically mapjoin hashtable generation phase) in child JVMs. The system does not collect metrics for the child JVMs. The system only collects metrics for the HiveServer2 and Hive metastore processes.

Hive Metastore Metrics

The following are the JMX metrics provided for the Hive metastore:

HiveServer2 Metrics

The following are the JMX metrics provided for HiveServer2 (hs2):