HiveServer2 Health Tests

HiveServer2 Audit Pipeline Test

This HiveServer2 health test checks that the Auditing for the HiveServer2 role is getting processed correctly and is not blocked. A failure of this health test may indicate a problem with the audit pipeline of HiveServer2 process. This test can fail either because the Cloudera Audit Server is not accepting audits, or the Cloudera Manager Agent on the HiveServer2 host isn't able to send audits because of some network issue. Check the Cloudera Manager Agent logs and Cloudera Audit Server logs for more details. This test can be enabled or disabled using the Navigator Audit Pipeline Health Check HiveServer2 monitoring setting.

Short Name: Audit Pipeline Test

Property Name Description Template Name Default Value Unit
Monitoring Period For Audit Failures The period to review when checking if audits are blocked and not getting processed. mgmt_navigator_failure_window 20 MINUTES
Navigator Audit Failure Thresholds The health test thresholds for failures encountered when monitoring audits within a recent period specified by the mgmt_navigator_failure_window configuration for the role. The value that can be specified for this threshold is the number of bytes of audits data that is left to be sent to audit server. mgmt_navigator_failure_thresholds critical:any, warning:never BYTES
Navigator Audit Pipeline Health Check Enable test of audit events processing pipeline. This will test if audit events are not getting processed by Audit Server for a role that generates audit. mgmt_navigator_status_check_enabled true no unit

HiveServer2 File Descriptors

This HiveServer2 health test checks that the number of file descriptors used does not rise above some percentage of the HiveServer2 file descriptor limit. A failure of this health test may indicate a bug in either Hadoop or Cloudera Manager. Contact Cloudera support. This test can be configured using the File Descriptor Monitoring Thresholds HiveServer2 monitoring setting.

Short Name: File Descriptors

Property Name Description Template Name Default Value Unit
File Descriptor Monitoring Thresholds The health test thresholds of the number of file descriptors used. Specified as a percentage of file descriptor limit. hiveserver2_fd_thresholds critical:70.0, warning:50.0 PERCENT

HiveServer2 Heap Dump Directory Free Space

This HiveServer2 health test checks that the filesystem containing the heap dump directory of this HiveServer2 has sufficient free space. This test can be configured using the Heap Dump Directory Free Space Monitoring Absolute Thresholds and Heap Dump Directory Free Space Monitoring Percentage Thresholds HiveServer2 monitoring settings.

Short Name: Heap Dump Directory Free Space

Property Name Description Template Name Default Value Unit
Heap Dump Directory Free Space Monitoring Absolute Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's heap dump directory. heap_dump_directory_free_space_absolute_thresholds critical:5.36870912E9, warning:1.073741824E10 BYTES
Heap Dump Directory Free Space Monitoring Percentage Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's heap dump directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Heap Dump Directory Free Space Monitoring Absolute Thresholds setting is configured. heap_dump_directory_free_space_percentage_thresholds critical:never, warning:never PERCENT

HiveServer2 Hive Downloaded Resources Directory Free Space

This is a HiveServer2 health test that checks that the filesystem containing the Hive Downloaded Resources Directory of this HiveServer2 has sufficient free space. See the Hive Downloaded Resources Directory description on the HiveServer2 configuration page for more information on this directory type. This test can be configured using the Hive Downloaded Resources Directory Free Space Monitoring Absolute Thresholds and Hive Downloaded Resources Directory Free Space Monitoring Percentage Thresholds HiveServer2 monitoring settings.

Short Name: Hive Downloaded Resources Directory Free Space

Property Name Description Template Name Default Value Unit
Hive Downloaded Resources Directory Free Space Monitoring Absolute Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's Hive Downloaded Resources Directory. hiveserver2_downloaded_resources_directory_free_space_absolute_thresholds critical:5.36870912E9, warning:1.073741824E10 BYTES
Hive Downloaded Resources Directory Free Space Monitoring Percentage Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's Hive Downloaded Resources Directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Hive Downloaded Resources Directory Free Space Monitoring Absolute Thresholds setting is configured. hiveserver2_downloaded_resources_directory_free_space_percentage_thresholds critical:never, warning:never PERCENT

HiveServer2 Hive Local Scratch Directory Free Space

This is a HiveServer2 health test that checks that the filesystem containing the Hive Local Scratch Directory of this HiveServer2 has sufficient free space. See the Hive Local Scratch Directory description on the HiveServer2 configuration page for more information on this directory type. This test can be configured using the Hive Local Scratch Directory Free Space Monitoring Absolute Thresholds and Hive Local Scratch Directory Free Space Monitoring Percentage Thresholds HiveServer2 monitoring settings.

Short Name: Hive Local Scratch Directory Free Space

Property Name Description Template Name Default Value Unit
Hive Local Scratch Directory Free Space Monitoring Absolute Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's Hive Local Scratch Directory. hiveserver2_exec_local_scratch_directory_free_space_absolute_thresholds critical:5.36870912E9, warning:1.073741824E10 BYTES
Hive Local Scratch Directory Free Space Monitoring Percentage Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's Hive Local Scratch Directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Hive Local Scratch Directory Free Space Monitoring Absolute Thresholds setting is configured. hiveserver2_exec_local_scratch_directory_free_space_percentage_thresholds critical:never, warning:never PERCENT

HiveServer2 Host Health

This HiveServer2 health test factors in the health of the host upon which the HiveServer2 is running. A failure of this test means that the host running the HiveServer2 is experiencing some problem. See that host's status page for more details.This test can be enabled or disabled using the HiveServer2 Host Health Test HiveServer2 monitoring setting.

Short Name: Host Health

Property Name Description Template Name Default Value Unit
HiveServer2 Host Health Test When computing the overall HiveServer2 health, consider the host's health. hiveserver2_host_health_enabled true no unit

HiveServer2 Log Directory Free Space

This HiveServer2 health test checks that the filesystem containing the log directory of this HiveServer2 has sufficient free space. This test can be configured using the Log Directory Free Space Monitoring Absolute Thresholds and Log Directory Free Space Monitoring Percentage Thresholds HiveServer2 monitoring settings.

Short Name: Log Directory Free Space

Property Name Description Template Name Default Value Unit
Log Directory Free Space Monitoring Absolute Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's log directory. log_directory_free_space_absolute_thresholds critical:5.36870912E9, warning:1.073741824E10 BYTES
Log Directory Free Space Monitoring Percentage Thresholds The health test thresholds for monitoring of free space on the filesystem that contains this role's log directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Log Directory Free Space Monitoring Absolute Thresholds setting is configured. log_directory_free_space_percentage_thresholds critical:never, warning:never PERCENT

HiveServer2 Pause Duration

This HiveServer2 health test checks that the HiveServer2 threads are not experiencing long scheduling pauses. The test uses a pause monitoring thread in the HiveServer2 that tracks scheduling delay by noting if it is run on its requested schedule. If the thread is not run on its requested schedule, the delay is noted and considered pause time. The health test checks that no more than some percentage of recent time is spent paused. A failure of this health test may indicate that the HiveServer2 is not getting enough CPU resources, or that it is spending too much time doing garbage collection. Inspect the HiveServer2 logs for any pause monitor output and check garbage collection metrics exposed by the HiveServer2. This test can be configured using the Pause Duration Thresholds and Pause Duration Monitoring Period HiveServer2 monitoring settings.

Short Name: Pause Duration

Property Name Description Template Name Default Value Unit
Pause Duration Monitoring Period The period to review when computing the moving average of extra time the pause monitor spent paused. hiveserver2_pause_duration_window 5 MINUTES
Pause Duration Thresholds The health test thresholds for the weighted average extra time the pause monitor spent paused. Specified as a percentage of elapsed wall clock time. hiveserver2_pause_duration_thresholds critical:60.0, warning:30.0 no unit

HiveServer2 Process Status

This HiveServer2 health test checks that the Cloudera Manager Agent on the HiveServer2 host is heart beating correctly and that the process associated with the HiveServer2 role is in the state expected by Cloudera Manager. A failure of this health test may indicate a problem with the HiveServer2 process, a lack of connectivity to the Cloudera Manager Agent on the HiveServer2 host, or a problem with the Cloudera Manager Agent. This test can fail either because the HiveServer2 has crashed or because the HiveServer2 will not start or stop in a timely fashion. Check the HiveServer2 logs for more details. If the test fails because of problems communicating with the Cloudera Manager Agent on the HiveServer2 host, check the status of the Cloudera Manager Agent by running /etc/init.d/cloudera-scm-agent status on the HiveServer2 host, or look in the Cloudera Manager Agent logs on the HiveServer2 host for more details. This test can be enabled or disabled using the HiveServer2 Process Health Test HiveServer2 monitoring setting.

Short Name: Process Status

Property Name Description Template Name Default Value Unit
HiveServer2 Process Health Test Enables the health test that the HiveServer2's process state is consistent with the role configuration hiveserver2_scm_health_enabled true no unit

HiveServer2 Swap Memory Usage

This HiveServer2 health test checks the amount of swap memory in use by the role. A failure of this health test may indicate that your machine is overloaded. This test can be configured using the Process Swap Memory Thresholds monitoring settings.

Short Name: Swap Memory Usage

Property Name Description Template Name Default Value Unit
Process Swap Memory Thresholds The health test thresholds on the swap memory usage of the process. This takes precedence over the host level threshold. process_swap_memory_thresholds critical:never, warning:200.0 BYTES

HiveServer2 Unexpected Exits

This HiveServer2 health test checks that the HiveServer2 has not recently exited unexpectedly. The test returns "Bad" health if the number of unexpected exits exceeds a critical threshold. For example, if this test is configured with a critical threshold of 1, this test returns "Good" health if there have been no unexpected exits recently. If 1 or more unexpected exits occured recently, this test returns "Bad" health. The test also indicates whether any of the exits were caused by an OutOfMemory error if the Cloudera Manager Kill When Out of Memory monitoring setting is enabled. This test can be configured using the Unexpected Exits Thresholds and Unexpected Exits Monitoring Period HiveServer2 monitoring settings.

Short Name: Unexpected Exits

Property Name Description Template Name Default Value Unit
Unexpected Exits Monitoring Period The period to review when computing unexpected exits. unexpected_exits_window 5 MINUTES
Unexpected Exits Thresholds The health test thresholds for unexpected exits encountered within a recent period specified by the unexpected_exits_window configuration for the role. unexpected_exits_thresholds critical:any, warning:never no unit