Configuring HBase persistent BucketCache

Know how to configure the HBase persistent BucketCache in your CDP environment using Cloudera Manager.

This functionality only applies to the BucketCache instances that use the file type ioengine. It also requires either setting both hbase.master.scp.retain.assignment.force and hbase.master.scp.retain.assignment configuration properties in Cloudera Manager, or enabling the cache-aware load balancer, so that regions can have the same assignment distribution after restarts.

For more information on setting the hbase.master.scp.retain.assignment.force and hbase.master.scp.retain.assignment properties, see Configuration details.

For more information on HBase cache-aware load balancer, see HBase cache-aware load balancer configuration.

The related Apache JIRAs are, HBASE-27686 and HBASE-27743.

  1. Log in to Cloudera Manager as an Administrator.
  2. Select the HBase service.
  3. Go to Configuration > Advanced > HBase Service Advanced Configuration Snippet (Safety Valve) for hbase-site.xml.
  4. Set the value of hbase.bucketcache.persistent.path as PATH_IN_LOCAL_DISK to enable the persistent BucketCache. By default, it is disabled.