hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13484) [docs] docs need to be specific about hbase.bucketcache.size range
Date Sat, 25 Apr 2015 01:21:40 GMT

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

Mime
View raw message