The HBase Service
Cloudera Manager requires certain additional steps to set up and configure the HBase service.
Creating the HBase Root Directory
When adding the HBase service, the Add Service wizard automatically creates a root directory for HBase in HDFS. If you quit the Add Service wizard or it does not finish, you can create the root directory outside the wizard by doing these steps:
- Choose Create Root Directory from the Actions menu in the HBase > Status tab.
- Click Create Root Directory again to confirm.
Graceful Shutdown
A graceful shutdown of an HBase RegionServer allows the regions hosted by that RegionServer to be moved to other RegionServers before stopping the RegionServer. Cloudera Manager provides the following configuration options to perform a graceful shutdown of either an HBase RegionServer or the entire service:
To gracefully shut down an HBase RegionServer:
- Navigate to the HBase Service > Instances tab.
- From the list of Role Instances, select the RegionServer you want to shut down gracefully.
- From the Actions for Selected drop-down menu, select Decommission (Graceful Stop).

To gracefully shut down the entire service:
- Navigate to the HBase service and from the Actions menu, and select Stop... This tries to perform an HBase Master-driven graceful shutdown for the length of the configured Graceful Shutdown Timeout (three minutes by default), after which it abruptly shuts down the whole service.
To configure the Graceful Shutdown Timeout:
Note that this timeout only affects a graceful shutdown of the entire HBase service, not individual RegionServers. Therefore, if you have a large cluster with many RegionServers, you should strongly consider increasing the timeout from its default of 180 seconds.
- Navigate to the HBase Service > Configuration tab and select View and Edit.
- Under the Service-Wide category, scroll down to the Graceful Shutdown Timeout property and click on the current Value to change it.
- Click Save Changes to save this setting.
Enabling HBase Indexing
You must have the HBase Indexer service (Keystore Indexer) running as a service. See Adding the Indexer Service to the Cluster.
To enable HBase indexing:
- From the Services menu, select the appropriate HBase service.
- From the Configuration menu, select View and Edit.
- Select the Backup category.
- Check (enable) the properties for Enable Replication and Enable Indexing, and Save Changes.
- From the HBase Actions menu, Restart the HBase service.
- When the HBase service has restarted, you can start the Indexer service.
For information on using the Indexer, see Using the HBase Indexer Service.
<< Previous: The Oozie Service | Next: Enabling Hue Applications >> |