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

Eungsop Yoo commented on HBASE-14704:
-------------------------------------

Assume there are 2 region servers in a single process. If I read a data from 
the first region server, the cache hit count increased. But the block cache 
instance is a singleton, the cache stat of the second region server is also 
changed.

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

Reply via email to