[ https://issues.apache.org/jira/browse/HBASE-21460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686827#comment-16686827 ]
Ted Yu commented on HBASE-21460: -------------------------------- bq. (instead of `hbase.bucketcache.bucket.size`) I don't see the above property referenced in other part of the online reference. I think you can remove the above snippet - referencing the actual config name should be good enough. > correct Document Configurable Bucket Sizes in bucketCache > --------------------------------------------------------- > > Key: HBASE-21460 > URL: https://issues.apache.org/jira/browse/HBASE-21460 > Project: HBase > Issue Type: Improvement > Components: documentation > Reporter: Yechao Chen > Assignee: Yechao Chen > Priority: Major > Attachments: HBASE-21460.v1.patch > > > 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 > {color:#ff0000}{{hfile.block.cache.sizes}}{color} (instead of{color:#ff0000} > {{hfile.block.cache.size}}{color}) 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>{color:#ff0000}hfile.block.cache.sizes{color}</name> > <value>4096,8192</value> </property> -- This message was sent by Atlassian JIRA (v7.6.3#76005)