hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10138) incorrect or confusing test value is used in block caches
Date Mon, 16 Dec 2013 17:47:08 GMT

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

Sergey Shelukhin commented on HBASE-10138:
------------------------------------------

[~lhofhansl] [~ndimiduk] there's no clear component owner for this, you guys want to review?

> incorrect or confusing test value is used in block caches
> ---------------------------------------------------------
>
>                 Key: HBASE-10138
>                 URL: https://issues.apache.org/jira/browse/HBASE-10138
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-10138.patch
>
>
> DEFAULT_BLOCKSIZE_SMALL is described as:
> {code}
>   // Make default block size for StoreFiles 8k while testing.  TODO: FIX!
>   // Need to make it 8k for testing.
>   public static final int DEFAULT_BLOCKSIZE_SMALL = 8 * 1024;
> {code}
> This value is used on production path in CacheConfig thru HStore/HRegion, and passed
to various cache object.
> We should change it to actual block size, or if it is somehow by design at least we should
clarify it and remove the comment. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message