hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingcheng Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15381) Implement a distributed MOB compaction by procedure
Date Thu, 21 Apr 2016 07:03:25 GMT

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

Jingcheng Du commented on HBASE-15381:

Thanks a lot for the comments [~yuzhihong@gmail.com].

bq. private HMaster master; Can we narrow the type so that HMaster is not referenced directly
I am afraid not. We have some specific invocations of HMaster.

bq. regions.setFirst(Boolean.TRUE);  Consider using an eum in place of the boolean - it would
make the code more readable.
Agree. How about to add comments for this to help understand?

All the other comments will be addressed in the new patches and I will upload it to RB too.

> Implement a distributed MOB compaction by procedure
> ---------------------------------------------------
>                 Key: HBASE-15381
>                 URL: https://issues.apache.org/jira/browse/HBASE-15381
>             Project: HBase
>          Issue Type: Improvement
>          Components: mob
>            Reporter: Jingcheng Du
>            Assignee: Jingcheng Du
>         Attachments: HBASE-15381.patch, mob distributed compaction design-v2.pdf, mob
distributed compaction design.pdf
> In MOB, there is a periodical compaction which runs in HMaster (It can be disabled by
configuration), some small mob files are merged into bigger ones. Now the compaction only
runs in HMaster which is not efficient and might impact the running of HMaster. In this JIRA,
a distributed MOB compaction is introduced, it is triggered by HMaster, but all the compaction
jobs are distributed to HRegionServers.

This message was sent by Atlassian JIRA

View raw message