[
https://issues.apache.org/jira/browse/HBASE-14704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990706#comment-14990706
]
Eungsop Yoo commented on HBASE-14704:
-------------------------------------
IMHO, the block cache should be instantiated as a instance variable of
HRegionServer. And then it would be shared with HRegion, HStore, etc. I started
modifying, but it will take some time. CacheConfig is used a lot in test cases.
There are lots of work to do.
> Block cache instances should be mapped to each region servers in standalone
> mode or HBaseTestingUtility
> -------------------------------------------------------------------------------------------------------
>
> Key: HBASE-14704
> URL: https://issues.apache.org/jira/browse/HBASE-14704
> Project: HBase
> Issue Type: Bug
> Reporter: Eungsop Yoo
> Priority: Minor
> Attachments: HBASE-14704.patch
>
>
> CacheConfig has a single and static block cache instance. When HBase is
> running in standalone mode or HBaseTestingUtility, a single instance of block
> cache causes incorrect cache stats. So I suggest to change a single instance
> of block cache to a map of region server and block cache.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)