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

Jonathan Gray commented on HBASE-2500:
--------------------------------------

I guess there are also additional long-lived references to the block indexes 
that would need to be removed in order to actually evict?

One way to do this would be to have a special eviction method called when 
evicting block index blocks.  Shouldn't be so hard to do in the block cache if 
we give them their own type/priority.

> Block indexes and meta blocks should be put into the LRU
> --------------------------------------------------------
>
>                 Key: HBASE-2500
>                 URL: https://issues.apache.org/jira/browse/HBASE-2500
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Jonathan Gray
>             Fix For: 0.20.5, 0.21.0
>
>
> Currently we are not tracking the heap usage of block indexes.  We're just 
> relying on the fact that we leave a large percentage of total heap as part of 
> "everything else" not in memstores or the block cache.  The "everything else" 
> portion should be left for ephemeral/transient memory usage, not long-lived 
> objects like block indexes.  Introduction of blooms will extend this issue to 
> meta blocks in general.
> All of this should be moved into an LRU.  Either the existing block cache LRU 
> or a new LRU.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to