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

Shell tool to clear compaction queues

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Compaction, Operability
    • Labels:
      None
    • Release Note:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: