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
Important:
- Follow these command-line instructions on systems that do not use Cloudera Manager.
- This information applies specifically to CDH 5.15.0. See Cloudera Documentation for information specific to other releases.
The HBase canary is a Java class. To run it from the command line, in the foreground, issue a command similar to the following, as the HBase user:
$ /usr/bin/hbase org.apache.hadoop.hbase.tool.Canary
To start the canary in the background, add the --daemon option. You can also use this option in your HBase startup scripts.
$ /usr/bin/hbase org.apache.hadoop.hbase.tool.Canary --daemon
The canary has many options. To see usage instructions, add the --help parameter:
$ /usr/bin/hbase org.apache.hadoop.hbase.tool.Canary --help
Page generated May 18, 2018.
<< Configuring HBase Garbage Collection | ©2016 Cloudera, Inc. All rights reserved | Configuring the Blocksize for HBase >> |
Terms and Conditions Privacy Policy |