hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "churro morales (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11195) Potentially improve block locality during major compaction for old regions
Date Thu, 22 May 2014 05:24:38 GMT

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

churro morales commented on HBASE-11195:

Hey guys, 

I'm not too familiar with trunk, but after looking at the code, I came up with something.
 I don't love it as the getHostname call now becomes a static method of RSRpcServices.java.
 But its something we can talk and iterate on.

Let me know what you folks think.

> Potentially improve block locality during major compaction for old regions
> --------------------------------------------------------------------------
>                 Key: HBASE-11195
>                 URL: https://issues.apache.org/jira/browse/HBASE-11195
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.19
>            Reporter: churro morales
>            Assignee: churro morales
>         Attachments: HBASE-11195-0.94.patch
> This might be a specific use case.  But we have some regions which are no longer written
to (due to the key).  Those regions have 1 store file and they are very old, they haven't
been written to in a while.  We still use these regions to read from so locality would be
> I propose putting a configuration option: something like
> hbase.hstore.min.locality.to.skip.major.compact [between 0 and 1]
> such that you can decide whether or not to skip major compaction for an old region with
a single store file.
> I'll attach a patch, let me know what you guys think.

This message was sent by Atlassian JIRA

View raw message