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

Guangxu Cheng commented on HBASE-17928:
---------------------------------------

[~stack ] Thank you for your review.
I looked at HBASE-12446. The main purpose of HBASE-12446 is to abort running 
compactions.
This issue is to clear compaction queues regardless of the running compactions.
I am also interested in HBASE-12446.
Maybe we also need to implement the following command.

1. list compactions given regionserver 
2. abort compactions given regionserver and compaction id. 
3. abort all compactions given regionserver 
4. abort all compactions and clear both compaction queues given regionserver 
5. clear long/short/both compaction queues given regionserver 

> Shell tool to clear compact queues
> ----------------------------------
>
>                 Key: HBASE-17928
>                 URL: https://issues.apache.org/jira/browse/HBASE-17928
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17928-v1.patch, HBASE-17928-v2.patch, 
> HBASE-17928-v3.patch, HBASE-17928-v4.patch
>
>
> scenario:
> 1. Compact a table by mistake
> 2. Compact is not completed within the specified time period
> In this case, clearing the queue is a better choice, so as not to affect the 
> stability of the cluster



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to