hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3287) Add option to cache blocks on hfile write and evict blocks on hfile close
Date Tue, 09 Aug 2011 04:38:27 GMT

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

stack commented on HBASE-3287:

@Yi This issue looks like its old enough for the patch herein to have made 0.90. Are you not
finding it there?  (I believe there were issues found with the way we cached blocks on write
found subsequent to the application of this patch, wrong name was used when file was added
to cache -- in trunk its been redone)

> Add option to cache blocks on hfile write and evict blocks on hfile close
> -------------------------------------------------------------------------
>                 Key: HBASE-3287
>                 URL: https://issues.apache.org/jira/browse/HBASE-3287
>             Project: HBase
>          Issue Type: New Feature
>          Components: io, regionserver
>    Affects Versions: 0.90.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.92.0
>         Attachments: HBASE-3287-FINAL-trunk.patch
> This issue is about adding configuration options to add/remove from the block cache when
creating/closing files.  For use cases with lots of flushing and compacting, this might be
desirable to prevent cache misses and maximize the effective utilization of total block cache
> The first option, {{hbase.rs.cacheblocksonwrite}}, will make it so we pre-cache blocks
as we are writing out new files.
> The second option, {{hbase.rs.evictblocksonclose}}, will make it so we evict blocks when
files are closed.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message