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

Jean-Daniel Cryans commented on HBASE-6128:
-------------------------------------------

I'm talking about this:

http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/cache/CacheBuilder.html#weigher(com.google.common.cache.Weigher)

You could write one that weights each block in terms of how big they are. Not 
all blocks are created equal.
                
> Use weights instead of block counts in DoubleBlockCache with CacheBuilder
> -------------------------------------------------------------------------
>
>                 Key: HBASE-6128
>                 URL: https://issues.apache.org/jira/browse/HBASE-6128
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Priority: Minor
>
> Thanks to HBASE-5739 we can now specify a max weight instead of a maximum 
> number of blocks in the DoubleBlockCache. This will give a more accurate 
> control over its memory usage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to