Hive JMX Metrics

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

Hive Metastore Metrics

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

  • hm_gc_PS-MarkSweep_count
  • hm_gc_PS-MarkSweep_time
  • hm_gc_PS-Scavenge_count
  • hm_gc_PS-Scavenge_time
  • hm_memory_heap_commited
  • hm_memory_heap_init
  • hm_memory_heap_max
  • hm_memory_heap_usage
  • hm_memory_heap_used
  • hm_memory_non-heap_committed
  • hm_memory_non-heap_init
  • hm_memory_non-heap_max
  • hm_memory_non-heap_usage
  • hm_memory_non-heap_used
  • hm_memory_pools_Code-Cache_usage
  • hm_memory_pools_Compressed-Class-Space_usage
  • hm_memory_pools_Metaspace_usage
  • hm_memory_pools_PS-Eden-space_usage
  • hm_memory_pools_PS-Old-Gen_usage
  • hm_memory_pools_PS-Survivor-Space_usage
  • hm_memory_total_commited
  • hm_memory_total_init
  • hm_memory_total_max
  • hm_memory_total_used
  • hm_threads_count
  • hm_threads_daemon_count
  • hm_threads_deadlock_count
  • hm_threads_new_count
  • hm_threads_runnable_count
  • hm_threads_terminated_count
  • hm_threads_timed_waiting_count
  • hm_threads_waiting_count

HiveServer2 Metrics

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

  • hs2_gc_PS-MarkSweep_count
  • hs2_gc_PS-MarkSweep_time
  • hs2_gc_PS-Scavenge_count
  • hs2_gc_PS-Scavenge_time
  • hs2_memory_heap_committed
  • hs2_memory_heap_init
  • hs2_memory_heap_max
  • hs2_memory_heap_usage
  • hs2_memory_heap_used
  • hs2_memory_non-heap_committed
  • hs2_memory_non-heap_init
  • hs2_memory_non-heap_max
  • hs2_memory_non-heap_usage
  • hs2_memory_non-heap_used
  • hs2_pools_Code-Cache_usage
  • hs2_pools_Compressed-Class-Space_usage
  • hs2_pools_PS-Eden-Space_usage
  • hs2_pools_PS-Survivor-Space_usage
  • hs2_pools_metaspace_usage
  • hs2_threads_count
  • hs2_threads_daemon_count
  • hs2_threads_deadlock_count
  • hs2_threads_new_count
  • hs2_threads_runnable_count
  • hs2_threads_terminated_count
  • hs2_threads_timed_waiting_count
  • hs2_total_committed
  • hs2_total_init
  • hs2_total_max
  • hs2_total_used