RegionServer Health Tests
RegionServer Cluster Connectivity
This is a RegionServer health test that checks whether the Master considers the RegionServer alive. A failure of this health test may indicate that the RegionServer is having trouble communicating with at least the HBase Master and possibly the entire HBase cluster. Look in the RegionServer logs for more details. This test can be enabled or disabled using the HBase RegionServer to Master Connectivity Test RegionServer monitoring setting. The HBase Region Server Connectivity Tolerance at Startup RegionServer monitoring setting and the Health Check Startup Tolerance Master monitoring setting can be used to control the test's tolerance windows around RegionServer and Master restarts respectively.
Short Name: Cluster Connectivity
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
HBase Region Server Connectivity Tolerance at Startup | The amount of time to wait for the HBase Region Server to fully start up and connect to the HBase Master before enforcing the connectivity check. | regionserver_connectivity_tolerance | 180 | SECONDS |
HBase RegionServer to Master Connectivity Test | Enables the health test that the RegionServer is connected to the Master | regionserver_master_connectivity_enabled | true | no unit |
Health Check Startup Tolerance | The amount of time allowed after this role is started that failures of health checks that rely on communication with this role will be tolerated. | master_startup_tolerance | 5 | MINUTES |
RegionServer Compaction Queue Size
This is a RegionServer health test that checks that a moving average of the size of the RegionServer's compaction queue does not exceed some value. A failure of this health test indicates a high write load on the RegionServer. Try reducing the write load on the RegionServer, increasing capacity by adding additional disks to the RegionServer, or adding additional RegionServers. This test can be configured using the HBase RegionServer Compaction Queue Monitoring Thresholds and HBase RegionServer Compaction Queue Monitoring Period RegionServer monitoring settings.
Short Name: Compaction Queue Size
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
HBase RegionServer Compaction Queue Monitoring Period | The period over which to compute the moving average of the compaction queue size. | regionserver_compaction_queue_window | 5 | MINUTES |
HBase RegionServer Compaction Queue Monitoring Thresholds | The health test thresholds of the weighted average size of the HBase RegionServer compaction queue over a recent period. See HBase RegionServer Compaction Queue Monitoring Period. | regionserver_compaction_queue_thresholds | critical:never, warning:10.0 | no unit |
RegionServer File Descriptors
This RegionServer health test checks that the number of file descriptors used does not rise above some percentage of the RegionServer 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 RegionServer 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. | regionserver_fd_thresholds | critical:70.0, warning:50.0 | PERCENT |
RegionServer Flush Queue Size
This is a RegionServer health test that checks that a moving average of the size of the RegionServer's flush queue does not exceed some value. A failure of this health test indicates a high write load on the RegionServer. Try reducing the write load on the RegionServer, increasing capacity by adding additional disks to the RegionServer, or adding additional RegionServers. This test can be configured using the HBase RegionServer Flush Queue Monitoring Thresholds and HBase RegionServer Flush Queue Monitoring Period RegionServer monitoring settings.
Short Name: Flush Queue Size
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
HBase RegionServer Flush Queue Monitoring Period | The period over which to compute the moving average of the flush queue size. | regionserver_flush_queue_window | 5 | MINUTES |
HBase RegionServer Flush Queue Monitoring Thresholds | The health test thresholds of the average size of the HBase RegionServer flush queue over a recent period. See HBase RegionServer Flush Queue Monitoring Period. | regionserver_flush_queue_thresholds | critical:never, warning:10.0 | no unit |
RegionServer GC Duration
This RegionServer health test checks that the RegionServer is not spending too much time performing Java garbage collection. It checks that no more than some percentage of recent time is spent performing Java garbage collection. A failure of this health test may indicate a capacity planning problem or misconfiguration of the RegionServer. This test can be configured using the Garbage Collection Duration Thresholds and Garbage Collection Duration Monitoring Period RegionServer monitoring settings.
Short Name: GC Duration
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Garbage Collection Duration Monitoring Period | The period to review when computing the moving average of garbage collection time. | regionserver_gc_duration_window | 5 | MINUTES |
Garbage Collection Duration Thresholds | The health test thresholds for the weighted average time spent in Java garbage collection. Specified as a percentage of elapsed wall clock time. | regionserver_gc_duration_thresholds | critical:60.0, warning:30.0 | no unit |
RegionServer HDFS Read Latency
This is a RegionServer health test that checks that the average time it takes for the RegionServer to read from HDFS does not exceed some value. The health test computes a moving average of the average HDFS read time for the RegionServer over a configurable window and then compares that moving average to a configured threshold value. A moving average is used to avoid alerting on short-lived HDFS read latency spikes. The behavior of this health test depends on how the HBase cluster is being used. A failure of this health test may indicate a problem with HDFS, extensive load on the cluster, or a capacity management problem. For example, it is possible to see average read latency increase while executing MapReduce jobs on the cluster. In such situations, if the read latency increase is unacceptable, consider running the MapReduce jobs with fewer map or reduce slots. This test can be configured using the HBase RegionServer HDFS Read Latency Thresholds and HBase RegionServer HDFS Read Latency Monitoring Period RegionServer monitoring settings.
Short Name: HDFS Read Latency
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
HBase RegionServer HDFS Read Latency Monitoring Period | The period over which to compute the moving average of the HDFS read latency of the HBase RegionServer. | regionserver_read_latency_window | 5 | MINUTES |
HBase RegionServer HDFS Read Latency Thresholds | The health test thresholds of the latency that the RegionServer sees for HDFS read operations | regionserver_read_latency_thresholds | critical:100.0, warning:50.0 | MILLISECONDS |
RegionServer HDFS Sync Latency
This is a RegionServer health test that checks that the average time it takes for the RegionServer to perform HDFS syncs does not exceed some value. The health test computes a moving average of the average HDFS sync time for the RegionServer over a configurable window and then compares that moving average to a configured threshold value. A moving average is used to avoid alerting on short-lived HDFS sync latency spikes. The behavior of this health test depends on how the HBase cluster is being used. A failure of this health test may indicate a problem with HDFS, extensive load on the cluster, or a capacity management problem. For example, it is possible to see average sync latency increase while executing MapReduce jobs on the cluster. In such situations, if the sync latency increase is unacceptable, consider running the MapReduce jobs with fewer map or reduce slots. This test can be configured using the HBase RegionServer HDFS Sync Latency Thresholds and HBase RegionServer HDFS Sync Latency Monitoring Period RegionServer monitoring settings.
Short Name: HDFS Sync Latency
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
HBase RegionServer HDFS Sync Latency Monitoring Period | The period over which to compute the moving average of the HDFS sync latency of the HBase RegionServer. | regionserver_sync_latency_window | 5 | MINUTES |
HBase RegionServer HDFS Sync Latency Thresholds | The health test thresholds for the latency of HDFS write operations that the RegionServer detects | regionserver_sync_latency_thresholds | critical:5000.0, warning:500.0 | MILLISECONDS |
RegionServer Heap Dump Directory Free Space
This RegionServer health test checks that the filesystem containing the heap dump directory of this RegionServer 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 RegionServer 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 |
RegionServer Host Health
This RegionServer health test factors in the health of the host upon which the RegionServer is running. A failure of this test means that the host running the RegionServer is experiencing some problem. See that host's status page for more details.This test can be enabled or disabled using the RegionServer Host Health Test RegionServer monitoring setting.
Short Name: Host Health
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
RegionServer Host Health Test | When computing the overall RegionServer health, consider the host's health. | regionserver_host_health_enabled | true | no unit |
RegionServer Log Directory Free Space
This RegionServer health test checks that the filesystem containing the log directory of this RegionServer 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 RegionServer 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 |
RegionServer Memstore Size
This is a RegionServer health test that checks that the amount of the RegionServer's memory devoted to memstores does not exceed some percentage of the RegionServer's configured hbase.regionserver.global.memstore.upperLimit. When a RegionServer's memstores reach this maximum size, new updates are blocked while the RegionServer flushes. A failure of this health test indicates a high write load on the RegionServer. Try reducing the write load on the RegionServer, increasing capacity by adding additional disks to the RegionServer, or adding additional RegionServers. This test can be configured using the HBase RegionServer Memstore Size Thresholds RegionServer monitoring setting.
Short Name: Memstore Size
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
HBase RegionServer Memstore Size Thresholds | The health test thresholds of the total size of RegionServer's memstores. Specified as a percentage of the configured upper limit. See Maximum Size of All Memstores in RegionServer. | regionserver_memstore_size_thresholds | critical:100.0, warning:95.0 | PERCENT |
RegionServer Process Status
This RegionServer health test checks that the Cloudera Manager Agent on the RegionServer host is heart beating correctly and that the process associated with the RegionServer role is in the state expected by Cloudera Manager. A failure of this health test may indicate a problem with the RegionServer process, a lack of connectivity to the Cloudera Manager Agent on the RegionServer host, or a problem with the Cloudera Manager Agent. This test can fail either because the RegionServer has crashed or because the RegionServer will not start or stop in a timely fashion. Check the RegionServer logs for more details. If the test fails because of problems communicating with the Cloudera Manager Agent on the RegionServer host, check the status of the Cloudera Manager Agent by running /etc/init.d/cloudera-scm-agent status on the RegionServer host, or look in the Cloudera Manager Agent logs on the RegionServer host for more details. This test can be enabled or disabled using the RegionServer Process Health Test RegionServer monitoring setting.
Short Name: Process Status
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
RegionServer Process Health Test | Enables the health test that the RegionServer's process state is consistent with the role configuration | regionserver_scm_health_enabled | true | no unit |
RegionServer Store File Index Size
This is a RegionServer health test that checks that the sum of the sizes of all store file indexes does not exceed some percentage of the RegionServer's maximum heap size. A failure of this health test indicates that the RegionServer is using a significant portion of its memory for store file indexes. If the amount of memory devoted to these indexes is undesirably high, the size of indexes can be reduced by increasing the HBase block size, by using smaller key values, or by using fewer columns. Each of these choices involves trade-offs. Contact Cloudera Support for more information on this topic. This test can be configured using the Percentage of Heap Used by HStoreFile Index RegionServer monitoring setting.
Short Name: Store File Index Size
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Percentage of Heap Used by HStoreFile Index | The health test thresholds of the size used by the HStoreFile index. Specified as a percentage of the total heap size. | regionserver_store_file_idx_size_thresholds | critical:never, warning:10.0 | PERCENT |
RegionServer Swap Memory Usage
This RegionServer 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. | process_swap_memory_thresholds | critical:never, warning:any | BYTES |
RegionServer Unexpected Exits
This RegionServer health test checks that the RegionServer has not recently exited unexpectedly. The test returns "Bad" health if the number of unexpected exits goes above a critical threshold. For example, if this test is configured with a critical threshold of 1, this test would return "Good" health if there have been no unexpected exits recently. If there has been 1 or more unexpected exits recently, this test would return "Bad" health. This test can be configured using the Unexpected Exits Thresholds and Unexpected Exits Monitoring Period RegionServer 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 |
RegionServer Web Server Status
This health test checks that the role's web server is responding quickly to requests by the Cloudera Manager Agent, and that the Cloudera Manager Agent can collect metrics from the web server. Failure of this health test may indicate a problem with the web server of the RegionServer, a misconfiguration of the RegionServer, or a problem with the Cloudera Manager Agent. Consult the Cloudera Manager Agent logs and the logs of the RegionServer for more detail. If the test failure message indicates a communication problem, the Cloudera Manager Agent's HTTP requests to the RegionServer's web server are failing or timing out. If the test's failure message indicates an unexpected response, the RegionServer's web server responded to the Cloudera Manager Agent's request, but the response could not be interpreted for some reason. This test can be configured using the Web Metric Collection RegionServer monitoring setting.
Short Name: Web Server Status
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Web Metric Collection | Enables the health test that the Cloudera Manager Agent can successfully contact and gather metrics from the web server. | regionserver_web_metric_collection_enabled | true | no unit |
Web Metric Collection Duration | The health test thresholds on the duration of the metrics request to the web server. | regionserver_web_metric_collection_thresholds | critical:never, warning:10000.0 | MILLISECONDS |