You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Esteban Gutierrez (JIRA)" <ji...@apache.org> on 2015/04/25 03:21:40 UTC
[jira] [Updated] (HBASE-13484) [docs] docs need to be specific
about hbase.bucketcache.size range
[ https://issues.apache.org/jira/browse/HBASE-13484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Esteban Gutierrez updated HBASE-13484:
--------------------------------------
Description:
This is not 100% clear for users:
if hbase.bucketcache.size is between 0.0 and 1.0 then is a percentage. But if the value is above 1 then the value is expressed in MBs:
>From CacheConfig.getBucketCache():
{noformat}
long bucketCacheSize = (long) (bucketCachePercentage < 1? mu.getMax() * bucketCachePercentage:
bucketCachePercentage * 1024 * 1024);
{noformat}
was:
This is not 100% clear for users:
if hbase.bucketcache.size is between 0.0 and 1.0 then is a percentage. But if the value is above 1 then the value is expressed in KBs:
>From CacheConfig.getBucketCache():
{noformat}
long bucketCacheSize = (long) (bucketCachePercentage < 1? mu.getMax() * bucketCachePercentage:
bucketCachePercentage * 1024 * 1024);
{noformat}
> [docs] docs need to be specific about hbase.bucketcache.size range
> ------------------------------------------------------------------
>
> Key: HBASE-13484
> URL: https://issues.apache.org/jira/browse/HBASE-13484
> Project: HBase
> Issue Type: Bug
> Reporter: Esteban Gutierrez
>
> This is not 100% clear for users:
> if hbase.bucketcache.size is between 0.0 and 1.0 then is a percentage. But if the value is above 1 then the value is expressed in MBs:
> From CacheConfig.getBucketCache():
> {noformat}
> long bucketCacheSize = (long) (bucketCachePercentage < 1? mu.getMax() * bucketCachePercentage:
> bucketCachePercentage * 1024 * 1024);
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)