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

compactionsQueuedCount metric is not cleared on 'clear_compaction_queues'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • metrics, shell
    • None

    Description

      Problem Description

      Region-level compactionsQueuedCount metric is not reset when the compaction queue is cleared by clear_compaction_queues command on HBase shell.

      Also, the compaction state of the regions are not reset, and table.jsp page reports incorrect compaction state.

      To reproduce

      Trigger compaction and clear the compaction queue while the compaction is in progress.

      Cause

      The counters of HRegion are not updated accordingly when the queue is cleared.

      • compactionsQueued
      • majorInProgress
      • minorInProgress

      Attachments

        Activity

          People

            Unassigned Unassigned
            junegunn Junegunn Choi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: