[
https://issues.apache.org/jira/browse/HBASE-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053439#comment-13053439
]
Jonathan Gray commented on HBASE-4017:
--------------------------------------
+1
FYI, in the upcoming HFile v2 stuff, there is a change in the block cache
interface so that instead of ByteBuffer it takes HeapSize (so basically, any
heap-size-aware structure).
> BlockCache interface should be truly modular
> --------------------------------------------
>
> Key: HBASE-4017
> URL: https://issues.apache.org/jira/browse/HBASE-4017
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: Li Pi
>
> Currently, the if the BlockCache that used isn't an LruBlockCache, somewhere
> in metrics will try to cast it to an LruBlockCache and cause an exception.
> The code should be modular enough to allow for the use of different block
> caches without throwing an exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira