hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8683) Add major compaction support in CompactionTool
Date Fri, 07 Jun 2013 04:15:20 GMT

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

Lars Hofhansl commented on HBASE-8683:
--------------------------------------

+1

Curious, why this change:
{code}
-        CompactionContext compaction = store.requestCompaction();
+        CompactionContext compaction = store.requestCompaction(Store.PRIORITY_USER, null);
{code}
?
                
> Add major compaction support in CompactionTool
> ----------------------------------------------
>
>                 Key: HBASE-8683
>                 URL: https://issues.apache.org/jira/browse/HBASE-8683
>             Project: HBase
>          Issue Type: Improvement
>          Components: Compaction
>    Affects Versions: 0.94.8
>            Reporter: Jerry He
>            Assignee: Jerry He
>            Priority: Minor
>             Fix For: 0.95.2, 0.94.9
>
>         Attachments: HBASE-8683-0.94.patch, HBASE-8683-trunk.patch
>
>
> Support request for a major compaction in CompactionTool so that we'll make this nice
tool complete and consistent with the other compaction command and API.
> After the patch, here is the usage:
> Usage: java org.apache.hadoop.hbase.regionserver.CompactionTool \
>   [-compactOnce] *[-major]* [-mapred] [-D<property=value>]* files...
> Options:
>  mapred         Use MapReduce to run compaction.
>  compactOnce    Execute just one compaction step. (default: while needed)
>  *major          Trigger major compaction.*
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message