You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ryan rawson (JIRA)" <ji...@apache.org> on 2010/04/30 03:44:55 UTC
[jira] Commented: (HBASE-2501) Refactor StoreFile Code
[ https://issues.apache.org/jira/browse/HBASE-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862510#action_12862510 ]
ryan rawson commented on HBASE-2501:
------------------------------------
right now HFile knows very little about its surrounding context. It literally only knows the very few flags passed to it. There are no package dependencies on regionserver and that is probably the right direction.
However as we expand our advanced use, we might want to make HFiles slightly smarter - for example they are for specific tables and regions. If a HFile knew that info, it could tell the block cache to get better caching stats.
But I would still maintain that keeping more advanced handling such as blooms, etc out of HFile would be best. Right now its a simple to test sub-module, lets keep it that way.
> Refactor StoreFile Code
> -----------------------
>
> Key: HBASE-2501
> URL: https://issues.apache.org/jira/browse/HBASE-2501
> Project: Hadoop HBase
> Issue Type: Improvement
> Components: regionserver
> Affects Versions: 0.20.5
> Reporter: Nicolas Spiegelberg
> Priority: Minor
> Fix For: 0.20.5
>
>
> Currently, the StoreFile code is a thin wrapper around an HFile.Reader. With the addition of BloomFilters and other features that operate at the HFile layer, we need to clarify the difference between a StoreFile & HFile. To that end, we need to refactor the StoreFile.Reader code and the code that inter-operates with it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.