Configure the off-heap BucketCache using Cloudera Manager
You can configure the off-heap BucketCache engine using Cloudera Manager.
- Go to the HBase service.
- Click the Configuration tab.
-
Select the RegionServer scope and do the
following:
-
Optionally, when combined BucketCache is in use, you can decrease the heap size
ratio allocated to the L1 BlockCache, and increase the Memstore size. The
on-heap BlockCache only stores indexes and Bloom filters, the actual data
resides in the off-heap BucketCache. A larger Memstore is able to accommodate
more write request before flushing them to disks.
- Decrease HFile Block Cache Size to
0.3
or0.2
. - Increase Maximum Size of All Memstores in
RegionServer to
0.5
or0.6
respectively.
- Decrease HFile Block Cache Size to
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Restart or rolling restart your RegionServers for the changes to take effect.