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-13012) Add a shell to trigger the mob file compactor by commands
Date Thu, 12 Feb 2015 05:05:11 GMT

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

Jingcheng Du commented on HBASE-13012:
--------------------------------------

Not exactly.
We have two new methods in HBaseAdmin.
{code}
void compactMob(TableName tn, byte[] familyName} throws IOE;
and 
void majorCompactMob(TableName tn, byte[]familyName) throws IOE;
{code}

Using these two methods to do different compaction (the upper one is for minor (it might be
a major if all the files are selected in compactor), and the other is for major). So we could
avoid having a protobuf definition for the MobCompactType. It seems now we do the same in
the HBaseAdmin. How about this?

> Add a shell to trigger the mob file compactor by commands
> ---------------------------------------------------------
>
>                 Key: HBASE-13012
>                 URL: https://issues.apache.org/jira/browse/HBASE-13012
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: Jingcheng Du
>            Assignee: Jiajia Li
>             Fix For: hbase-11339
>
>
> Currently the MobFileCompactor is run by HMaster periodically, we need to add a shell
to trigger the compactor by commands.



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

Mime
View raw message