Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
we use the bucket cache(offheap),found the doc was error,
the property bucket sizes shoul be "hbase.bucketcache.bucket.sizes" instead of "hfile.block.cache.sizes"
CacheConfig.java
/**
- A comma-delimited array of values for use as bucket sizes.
*/
public static final String BUCKET_CACHE_BUCKETS_KEY = "hbase.bucketcache.bucket.sizes";
the doc was:
HBASE-10641 introduced the ability to configure multiple sizes for the buckets of the BucketCache, in HBase 0.98 and newer. To configurable multiple bucket sizes, configure the new property hfile.block.cache.sizes (instead of hfile.block.cache.size) to a comma-separated list of block sizes, ordered from smallest to largest, with no spaces. The goal is to optimize the bucket sizes based on your data access patterns. The following example configures buckets of size 4096 and 8192.
<property> <name>hfile.block.cache.sizes</name> <value>4096,8192</value> </property>
Attachments
Attachments
Issue Links
- relates to
-
HBASE-11735 Document Configurable Bucket Sizes in bucketCache
- Closed