[
https://issues.apache.org/jira/browse/HBASE-13320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14504319#comment-14504319
]
ramkrishna.s.vasudevan commented on HBASE-13320:
------------------------------------------------
bq.Looks like we explain it in the book but failed to do it in hbase-default
HBASE-13281 did it but was not aware that the default was there in the
hbase-default. Any ways the value is not right seeing the code and its
calculation.
bq.If remove it, why not remove all to do w/ bucketcache since all but one
value are unset (hbase.bucketcache.sizes description should list default values
too?)
+1 on doing this.
{code}
</property>
<property>
<name>hbase.bucketcache.ioengine</name>
<value></value>
<description>Where to store the contents of the bucketcache. One of:
onheap,
offheap, or file. If a file, set it to file:PATH_TO_FILE. See
https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/io/hfile/CacheConfig.html
for more information.
</description>
</property>
<property>
<name>hbase.bucketcache.combinedcache.enabled</name>
<value>true</value>
<description>Whether or not the bucketcache is used in league with the LRU
on-heap block cache. In this mode, indices and blooms are kept in the LRU
blockcache and the data blocks are kept in the bucketcache.</description>
</property>
<property>
<name>hbase.bucketcache.size</name>
<value>65536</value>
<description>The size of the buckets for the bucketcache if you only use a
single size.
Defaults to the default blocksize, which is 64 * 1024.</description>
</property>
<property>
<name>hbase.bucketcache.sizes</name>
<value></value>
<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
to largest. The sizes you use will depend on your data access
patterns.</description>
</property>
{code}
Currenly even hbase.bucketcache.sizes are not set. We can just describe the
default value.
> 'hbase.bucketcache.size' configuration value is not correct in
> hbase-default.xml
> ---------------------------------------------------------------------------------
>
> Key: HBASE-13320
> URL: https://issues.apache.org/jira/browse/HBASE-13320
> Project: HBase
> Issue Type: Bug
> Components: hbase
> Affects Versions: 2.0.0
> Reporter: Y. SREENIVASULU REDDY
> Assignee: Y. SREENIVASULU REDDY
> Fix For: 2.0.0
>
> Attachments: HBASE-13320.patch, HBASE-v2-13320.patch
>
>
> In hbase-default.xml file
> * 'hbase.bucketcache.size' is not correct
> We either specify it as a float or in MB's and the default value that is
> mentioned is never used
> {code}
> <property>
> <name>hbase.bucketcache.size</name>
> <value>65536</value>
> <source>hbase-default.xml</source>
> </property>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)