hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: question on class CacheConfig
Date Mon, 13 Jun 2016 14:08:24 GMT
        if (combinedWithLru) {
          lruCacheSize = (long) ((1 - combinedPercentage) *
bucketCacheSize);
          bucketCacheSize = (long) (combinedPercentage * bucketCacheSize);
        }

Looks like the above came from introduction of Bucket Cache :

HBASE-7404 Bucket Cache:A solution about CMS,Heap Fragment and Big Cache on
HBASE (Chunhui)

FYI

On Mon, Jun 13, 2016 at 12:33 AM, WangYQ <wangyongqiang0617@163.com> wrote:

> in hbase 0.98.10
> class CacheConfig
> in line 417, we get lruCacheSize from heap conf and cachePercentage
> in line 450, when we use combineWithLru, we get a new lruCacheSize again
> from bucketCacheSize
>
>
> lruCacheSize  should have no relation with bucketCache, i think is not so
> property to get lruCacheSize from bucketCacheSize

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message