Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17928

Shell tool to clear compaction queues

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Compaction, Operability
    • None
    • Hide
      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}
      Show
      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}

    Description

      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

      Attachments

        1. 17928-v5.patch
          80 kB
          Ted Yu
        2. HBASE-17928-branch-1-v1.patch
          71 kB
          Guangxu Cheng
        3. HBASE-17928-branch-1-v2.patch
          71 kB
          Guangxu Cheng
        4. HBASE-17928-v1.patch
          142 kB
          Guangxu Cheng
        5. HBASE-17928-v2.patch
          128 kB
          Guangxu Cheng
        6. HBASE-17928-v3.patch
          149 kB
          Guangxu Cheng
        7. HBASE-17928-v4.patch
          80 kB
          Guangxu Cheng
        8. HBASE-17928-v5.patch
          80 kB
          Guangxu Cheng

        Activity

          People

            gxcheng Guangxu Cheng
            gxcheng Guangxu Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: