You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Esteban Gutierrez (JIRA)" <ji...@apache.org> on 2015/04/16 01:27:59 UTC

[jira] [Created] (HBASE-13484) [docs] docs need to be specific about hbase.bucketcache.size range

Esteban Gutierrez created HBASE-13484:
-----------------------------------------

             Summary: [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 KBs:

>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)