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

Shell tool to clear compaction queues

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment