HiveServer2 Metrics
In addition to these base metrics, many aggregate metrics are available. If an entity type has parents defined, you can formulate all possible aggregate metrics using the formula base_metric_across_parents.
In addition, metrics for aggregate totals can be formed by adding the prefix total_ to the front of the metric name.
Use the type-ahead feature in the Cloudera Manager chart browser to find the exact aggregate metric name, in case the plural form does not end in "s".
For example, the following metric names may be valid for HiveServer2:
- alerts_rate_across_clusters
- total_alerts_rate_across_clusters
Some metrics, such as alerts_rate, apply to nearly every metric context. Others only apply to a certain service or role.
For more information about metrics, see Cloudera Manager Metrics and Metric Aggregation.
Metric Name | Description | Unit | Parents | CDH Version |
---|---|---|---|---|
alerts_rate | The number of alerts. | events per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_agent_bytes_left_rate | Number of bytes of audit events still to be sent to the Audit Server. | bytes per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_agent_bytes_sent_rate | Number of bytes of audit events successfully sent by Cloudera Manager Agent to the Audit Server. | bytes per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_agent_events_sent_rate | Number of audit events successfully sent by Cloudera Manager Agent to the Audit Server. | events per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_agent_send_failures_rate | Number of time Cloudera Manager Agent encountered failure when sending audit event(s) to the Audit Server. | errors per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_plugin_coalesced_rate | Number of audit events coalesced | events per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_plugin_events_rate | Number of audit events persisted to local filesystem | events per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_plugin_exceptions_rate | Number of exception encountered when processing audit events | errors per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_plugin_filtered_rate | Number of audit events that were filtered based on user specified criteria | events per second | cluster, hive, rack | CDH 4, CDH 5 |
audit_plugin_parse_errors_rate | Number of audit events that cannot be parsed | errors per second | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_cpu_system_rate | CPU usage of the role's cgroup | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_cpu_user_rate | User Space CPU usage of the role's cgroup | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_mem_page_cache | Page cache usage of the role's cgroup | bytes | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_mem_rss | Resident memory of the role's cgroup | bytes | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_mem_swap | Swap usage of the role's cgroup | bytes | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_read_bytes_rate | Bytes read from all disks by the role's cgroup | bytes per second | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_read_ios_rate | Number of read I/O operations from all disks by the role's cgroup | ios per second | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_write_bytes_rate | Bytes written to all disks by the role's cgroup | bytes per second | cluster, hive, rack | CDH 4, CDH 5 |
cgroup_write_ios_rate | Number of write I/O operations to all disks by the role's cgroup | ios per second | cluster, hive, rack | CDH 4, CDH 5 |
cpu_system_rate | Total System CPU | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
cpu_user_rate | Total CPU user time | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
events_critical_rate | The number of critical events. | events per second | cluster, hive, rack | CDH 4, CDH 5 |
events_important_rate | The number of important events. | events per second | cluster, hive, rack | CDH 4, CDH 5 |
events_informational_rate | The number of informational events. | events per second | cluster, hive, rack | CDH 4, CDH 5 |
fd_max | Maximum number of file descriptors | file descriptors | cluster, hive, rack | CDH 4, CDH 5 |
fd_open | Open file descriptors. | file descriptors | cluster, hive, rack | CDH 4, CDH 5 |
health_bad_rate | Percentage of Time with Bad Health | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
health_concerning_rate | Percentage of Time with Concerning Health | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
health_disabled_rate | Percentage of Time with Disabled Health | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
health_good_rate | Percentage of Time with Good Health | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
health_unknown_rate | Percentage of Time with Unknown Health | seconds per second | cluster, hive, rack | CDH 4, CDH 5 |
mem_rss | Resident memory used | bytes | cluster, hive, rack | CDH 4, CDH 5 |
mem_swap | Amount of swap memory used by this role's process. | bytes | cluster, hive, rack | CDH 4, CDH 5 |
mem_virtual | Virtual memory used | bytes | cluster, hive, rack | CDH 4, CDH 5 |
oom_exits_rate | The number of times the role's backing process was killed due to an OutOfMemory error. This counter is only incremented if the Cloudera Manager "Kill When Out of Memory" option is enabled. | exits per second | cluster, hive, rack | CDH 4, CDH 5 |
read_bytes_rate | The number of bytes read from the device | bytes per second | cluster, hive, rack | CDH 4, CDH 5 |
unexpected_exits_rate | The number of times the role's backing process exited unexpectedly. | exits per second | cluster, hive, rack | CDH 4, CDH 5 |
uptime | For a host, the amount of time since the host was booted. For a role, the uptime of the backing process. | seconds | cluster, hive, rack | CDH 4, CDH 5 |
write_bytes_rate | The number of bytes written to the device | bytes per second | cluster, hive, rack | CDH 4, CDH 5 |
hive_jvm_pause_time_rate | The amount of extra time the jvm was paused above the requested sleep time. The JVM pause monitor sleeps for 500 milliseconds and any extra time it waited above this is counted in the pause time. | ms per second | cluster, hive, rack | CDH 5 |
hive_jvm_pauses_info_threshold_rate | Number of JVM pauses longer than the info threshold but shorter than the warning threshold. By default the info threshold is set to 1 second. To change use this configuration key JvmPauseMonitorService.info-threshold.ms | pauses per second | cluster, hive, rack | CDH 5 |
hive_jvm_pauses_warn_threshold_rate | Number of JVM pauses longer than the warning threshold. By default the warning threshold is set to 10 second. To change use this configuration key JvmPauseMonitorService.warn-threshold.ms | pauses per second | cluster, hive, rack | CDH 5 |
hive_memory_heap_committed | JVM heap committed memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_heap_init | JVM heap initial memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_heap_max | JVM heap max used memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_heap_used | JVM heap used memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_non_heap_committed | JVM non heap committed memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_non_heap_init | JVM non heap initial memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_non_heap_max | JVM non heap max used memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_non_heap_used | JVM non heap used memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_total_committed | JVM heap and non-heap committed memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_total_init | JVM heap and non-heap initial memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_total_max | JVM heap and non-heap max initial memory | bytes | cluster, hive, rack | CDH 5 |
hive_memory_total_used | JVM heap and non-heap used memory | bytes | cluster, hive, rack | CDH 5 |
hive_open_connections | Number of open sessions to the server | connections | cluster, hive, rack | CDH 5 |
hive_open_operations | Number of DDL, DML, or DCL statements concurrently active on the server | operations | cluster, hive, rack | CDH 5 |
hive_threads_daemon_thread_count | JVM daemon thread count | threads | cluster, hive, rack | CDH 5 |
hive_threads_deadlocked_thread_count | JVM deadlocked thread count | threads | cluster, hive, rack | CDH 5 |
hive_threads_thread_count | JVM daemon and non-daemon thread count | threads | cluster, hive, rack | CDH 5 |