[ 
https://issues.apache.org/jira/browse/HBASE-22339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

puleya7 updated HBASE-22339:
----------------------------
       Priority: Trivial  (was: Minor)
    Description:     (was:  
{code:java}
BucketCache#constructor():

long blockNumCapacity = capacity / blockSize;
if (blockNumCapacity >= Integer.MAX_VALUE) {
  // Enough for about 32TB of cache!
  throw new IllegalArgumentException("Cache capacity is too large, only support 
32TB now");
}
{code}
 

default blockSize is 64*1024

blockNumCapacity >= Integer.MAX_VALUE means capacity >= 127.99TB, not 32TB)
    Component/s:     (was: BucketCache)
        Summary: mistake  (was: BC capacity is not limited to 32TB)

> mistake
> -------
>
>                 Key: HBASE-22339
>                 URL: https://issues.apache.org/jira/browse/HBASE-22339
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: puleya7
>            Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to