HBASE-15351 Fix description of hbase.bucketcache.size in hbase-default.xml

This commit is contained in:
stack 2016-02-26 13:49:26 -08:00
parent 3c660e2a0f
commit 8f6e29785a
1 changed files with 17 additions and 11 deletions

View File

@ -870,16 +870,22 @@ possible configurations would overwhelm and obscure the important.
</property> </property>
<property> <property>
<name>hbase.bucketcache.size</name> <name>hbase.bucketcache.size</name>
<value>65536</value> <value></value>
<description>The size of the buckets for the bucketcache if you only use a single size. <description>A float that EITHER represents a percentage of total heap memory
Defaults to the default blocksize, which is 64 * 1024.</description> size to give to the cache (if &lt; 1.0) OR, it is the total capacity in
megabytes of BucketCache. Default: 0.0</description>
</property> </property>
<property> <property>
<name>hbase.bucketcache.sizes</name> <name>hbase.bucketcache.sizes</name>
<value></value> <value></value>
<description>A comma-separated list of sizes for buckets for the bucketcache <description>A comma-separated list of sizes for buckets for the bucketcache.
if you use multiple sizes. Should be a list of block sizes in order from smallest Can be multiple sizes. List block sizes in order from smallest to largest.
to largest. The sizes you use will depend on your data access patterns.</description> The sizes you use will depend on your data access patterns.
Must be a multiple of 1024 else you will run into
'java.io.IOException: Invalid HFile block magic' when you go to read from cache.
If you specify no values here, then you pick up the default bucketsizes set
in code (See BucketAllocator#DEFAULT_BUCKET_SIZES).
</description>
</property> </property>
<property> <property>
<name>hfile.format.version</name> <name>hfile.format.version</name>