You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2012/05/30 00:09:23 UTC
[jira] [Created] (HBASE-6128) Use weights instead of block counts
in DoubleBlockCache with CacheBuilder
Jean-Daniel Cryans created HBASE-6128:
-----------------------------------------
Summary: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-6128) Use weights instead of block counts
in DoubleBlockCache with CacheBuilder
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HBASE-6128) Use weights instead of block counts
in DoubleBlockCache with CacheBuilder
Posted by "Michael Drzal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443176#comment-13443176 ]
Michael Drzal commented on HBASE-6128:
--------------------------------------
[~jdcryans] could you add a bit more detail on this? We are looking for some work to pickup, and this might be of interest.
> 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