hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1218) Implement in-memory column
Date Wed, 01 Jul 2009 00:08:47 GMT

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

Jonathan Gray commented on HBASE-1218:
--------------------------------------

The LRU in trunk now supports in-memory blocks.

In HFile.Reader.readBlock(int) we need to change cache.cacheBlock(blockName, blockBuf) to
cache.cacheBlock(blockName, blockBuf, boolean inMemory).

HFile.Reader gets instantiated from within a Store so should be easy enough to pass something
in from the family configuration there.

I strongly recommend lazy-loading, no pre-fetching of blocks.  That's how they do it in big
table.  If you want to warm the blocks, just scan the table.

> Implement in-memory column
> --------------------------
>
>                 Key: HBASE-1218
>                 URL: https://issues.apache.org/jira/browse/HBASE-1218
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: stack
>            Assignee: ryan rawson
>             Fix For: 0.20.0
>
>
> HCD already talks of in-memory columns; its just not implemented.  With hfile this should
now be possible -- if set, read in the whole storefile and serve from the blockbuffer.

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


Mime
View raw message