hbase-issues 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-2899) hfile.min.blocksize.size ignored/documentation wrong
Date Tue, 14 Sep 2010 14:27:34 GMT

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

Jonathan Gray commented on HBASE-2899:
--------------------------------------

But shouldn't there be a way to change the default block size, outside HFOF context?  Or you
have to override each family separately?

> hfile.min.blocksize.size ignored/documentation wrong
> ----------------------------------------------------
>
>                 Key: HBASE-2899
>                 URL: https://issues.apache.org/jira/browse/HBASE-2899
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Francke
>            Assignee: stack
>            Priority: Trivial
>         Attachments: 2899.txt
>
>
> There is a property in hbase-default.xml called {{hfile.min.blocksize.size}} set to {{65536}}.
> The description says: Minimum store file block size.  The smaller you make this, the
 bigger your index and the less you fetch on a random-access.  Set size down  if you have
small cells and want faster random-access of individual cells.
> This property is only used in the HFileOutputFormat and nowhere else. So we should at
least change the description to something more meaningful.
> The other option I see would be: HFile now has a DEFAULT_BLOCKSIZE field which could
be moved to HConstants and HFile could somehow read the {{hfile.min.blocksize.size}} from
the Configuration or use HConstansts.DEFAULT_BLOCKSIZE if it's not defined. I believe this
is what's happening to the other config variables?

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