Configuring the HBase Canary
The HBase canary is an optional service that periodically checks that a RegionServer is alive. This canary is different from the Cloudera Service Monitoring canary and is provided by the HBase service. The HBase canary is disabled by default. After enabling the canary, you can configure several different thresholds and intervals relating to it, as well as exclude certain tables from the canary checks. The canary works on Kerberos-enabled clusters if you have the HBase client configured to use Kerberos.
Configure the HBase Canary Using Cloudera Manager
Minimum Required Role: Full Administrator
- Go to the HBase service.
- Click the Configuration tab.
- Select .
- Select .
- Locate the HBase Canary property or search for it by typing its name in the Search box. Several properties have Canary in the property name.
- Select the checkbox.
- Review other HBase Canary properties to configure the specific behavior of the canary.
To apply this configuration property to other role groups as needed, edit the value for the appropriate role group. See Modifying Configuration Properties Using Cloudera Manager.
- Click Save Changes to commit the changes.
- Restart the role.
- Restart the service.
Configure the HBase Canary Using the Command Line
$ /usr/bin/hbase org.apache.hadoop.hbase.tool.Canary
$ /usr/bin/hbase org.apache.hadoop.hbase.tool.Canary --daemon
$ /usr/bin/hbase org.apache.hadoop.hbase.tool.Canary --help