[ 
https://issues.apache.org/jira/browse/HBASE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack resolved HBASE-513.
-------------------------

    Resolution: Won't Fix

We don't do mapfiles any more.  Hfile indices are much smaller.  Resovling as 
invalid.

> Store Mapfile indexes in soft references
> ----------------------------------------
>
>                 Key: HBASE-513
>                 URL: https://issues.apache.org/jira/browse/HBASE-513
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Bryan Duxbury
>
> One of the potentially big consumers of memory in the region server is the 
> mapfile indexes we keep cached for fast access. Rather than building a 
> complex system to try and LRU them ourself, we should use some form of 
> SoftReference or derivative to keep the index around. That way, when our 
> server gets near its memory limit, those indexes will be cleaned up 
> automatically, making room. 
> We would also have to code our accesses of Mapfile in such a way that if a 
> index had been garbage collected, we were able to fetch it again from disk 
> with a minimum of trouble. 

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