You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2018/11/27 04:40:00 UTC

[jira] [Commented] (HBASE-21514) Refactor CacheConfig

    [ https://issues.apache.org/jira/browse/HBASE-21514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699915#comment-16699915 ] 

Anoop Sam John commented on HBASE-21514:
----------------------------------------

When we have a test Mini cluster with 1+ RSs, ideally every RS instance should have its own single instance of Block Cache. But right now what happens is every RS in mini cluster will share one BC because the BC is kept as Static instance in CacheConfig and Minicluster is on single JVM.  As said above CacheConfig should have config and other related stuff alone.  The BC instance should be some thing kept at HRS level and instance level single object.
Similar issue might be there with MSLAB pool and chunks also.  After this is been fixed, we will reactor that area also.

> Refactor CacheConfig
> --------------------
>
>                 Key: HBASE-21514
>                 URL: https://issues.apache.org/jira/browse/HBASE-21514
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Major
>
> One basic idea is move the global cache instances from CacheConfig. Only keep config stuff in CacheConfig.



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