[ 
https://issues.apache.org/jira/browse/HBASE-17928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guangxu Cheng updated HBASE-17928:
----------------------------------
    Release Note: 
Adds clear_compaction_queues to the hbase shell.
{code}
  Clear compaction queues on a regionserver.
  The queue_name contains short and long. 
  short is shortCompactions's queue,long is longCompactions's queue.
  
  Examples:
  hbase> clear_compaction_queues 'host187.example.com,60020'
  hbase> clear_compaction_queues 'host187.example.com,60020','long'
  hbase> clear_compaction_queues 'host187.example.com,60020', ['long','short']
{code}

  was:
Adds clear_compaction_queues to the hbase shell.
{code}
  Clear compaction queues on a regionserver.
  The queue_name contains short and long. 
  short is shortCompactions's queue,long is longCompactions's queue.
  
  Examples:
  hbase> clear_queues 'host187.example.com,60020'
  hbase> clear_queues 'host187.example.com,60020','long'
  hbase> clear_queues 'host187.example.com,60020', ['long','short']
{code}


> Shell tool to clear compact queues
> ----------------------------------
>
>                 Key: HBASE-17928
>                 URL: https://issues.apache.org/jira/browse/HBASE-17928
>             Project: HBase
>          Issue Type: New Feature
>          Components: Compaction, Operability
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17928-branch-1-v1.patch, 
> HBASE-17928-branch-1-v2.patch, HBASE-17928-v1.patch, HBASE-17928-v2.patch, 
> HBASE-17928-v3.patch, HBASE-17928-v4.patch, HBASE-17928-v5.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