Hive Metastore Server Health Tests
Hive Metastore Server File Descriptors
This Hive Metastore Server health test checks that the number of file descriptors used does not rise above some percentage of the Hive Metastore Server 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 Hive Metastore Server 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. | hivemetastore_fd_thresholds | critical:70.0, warning:50.0 | PERCENT |
Hive Metastore Server Hive Metastore Canary
This is a Hive Metastore health test that checks that a client can connect and perform basic operations. The operations include: (1) creating a database, (2) creating a table within that database with several types of columns and two partition keys, (3) creating a number of partitions, and (4) dropping both the table and the database. The database is created under the /user/hue/.cloudera_manager_hive_metastore_canary/<Hive Metastore role name>/ and is named "cloudera_manager_metastore_canary_test_db". The test returns "Bad" health if any of these operations fail. The test returns "Concerning" health if an unknown failure happens. The canary publishes a metric 'canary_duration' for the time it took for the canary to complete. Here is an example of a trigger, defined for the Hive Metastore role configuration group, that changes the health to "Bad" when the duration of the canary is longer than 5 sec: "IF (SELECT canary_duration WHERE entityName=$ROLENAME AND category = ROLE and last(canary_duration) > 5s) DO health:bad" A failure of this health test may indicate that the Hive Metastore is failing basic operations. Check the logs of the Hive Metastore and the Cloudera Manager Service Monitor for more details. This test can be enabled or disabled using the Hive Metastore Canary Health Test Hive Metastore monitoring setting.
Short Name: Hive Metastore Canary
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Hive Metastore Canary Health Test | Enables the health test that checks that basic Hive Metastore operations succeed | metastore_canary_health_enabled | true | no unit |
Hive Metastore Server Host Health
This Hive Metastore Server health test factors in the health of the host upon which the Hive Metastore Server is running. A failure of this test means that the host running the Hive Metastore Server is experiencing some problem. See that host's status page for more details.This test can be enabled or disabled using the Hive Metastore Server Host Health Test Hive Metastore Server monitoring setting.
Short Name: Host Health
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Hive Metastore Server Host Health Test | When computing the overall Hive Metastore Server health, consider the host's health. | hivemetastore_host_health_enabled | true | no unit |
Hive Metastore Server Log Directory Free Space
This Hive Metastore Server health test checks that the filesystem containing the log directory of this Hive Metastore Server 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 Hive Metastore Server 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 |
Hive Metastore Server Process Status
This Hive Metastore Server health test checks that the Cloudera Manager Agent on the Hive Metastore Server host is heart beating correctly and that the process associated with the Hive Metastore Server role is in the state expected by Cloudera Manager. A failure of this health test may indicate a problem with the Hive Metastore Server process, a lack of connectivity to the Cloudera Manager Agent on the Hive Metastore Server host, or a problem with the Cloudera Manager Agent. This test can fail either because the Hive Metastore Server has crashed or because the Hive Metastore Server will not start or stop in a timely fashion. Check the Hive Metastore Server logs for more details. If the test fails because of problems communicating with the Cloudera Manager Agent on the Hive Metastore Server host, check the status of the Cloudera Manager Agent by running /etc/init.d/cloudera-scm-agent status on the Hive Metastore Server host, or look in the Cloudera Manager Agent logs on the Hive Metastore Server host for more details. This test can be enabled or disabled using the Hive Metastore Server Process Health Test Hive Metastore Server monitoring setting.
Short Name: Process Status
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Hive Metastore Server Process Health Test | Enables the health test that the Hive Metastore Server's process state is consistent with the role configuration | hivemetastore_scm_health_enabled | true | no unit |
Hive Metastore Server Unexpected Exits
This Hive Metastore Server health test checks that the Hive Metastore Server 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 Hive Metastore Server 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 |