hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12016) Reduce number of versions in Meta table. Make it configurable
Date Tue, 07 Oct 2014 16:21:35 GMT

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

Ted Yu commented on HBASE-12016:
--------------------------------

Looks good overall.
{code}
+  public static int DEFAULT_HBASE_META_BLOCK_SIZE = 8 * 1024;
{code}
How was the block size determined ?
{code}
+  public static void setInfoFamilyCachingForMeta(HTableDescriptor metaDescriptor, final boolean
b) {
{code}
Since table descriptor is an argument, method name can be changed to setInfoFamilyCaching.

> Reduce number of versions in Meta table. Make it configurable
> -------------------------------------------------------------
>
>                 Key: HBASE-12016
>                 URL: https://issues.apache.org/jira/browse/HBASE-12016
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Andrey Stepachev
>            Assignee: Andrey Stepachev
>            Priority: Minor
>             Fix For: 2.0.0, 0.98.8, 0.99.1
>
>         Attachments: HBASE-12016.patch, HBASE-12016.patch, HBASE-12016.patch, HBASE-12016.patch,
HBASE-12016.patch, HBASE-12016.patch
>
>
> Currently meta keeps up to 10 versions of each KV. 
> For big metas it leads to substantial memory overhead and scan slowdowns.
> (see https://issues.apache.org/jira/browse/HBASE-11165 )
> Need to keep reasonable number of versions (suggested value is 3). 
> Number of versions configurable via parameter: hbase.meta.versions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message