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

Add last major compaction age to per-region metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • None
    • None
    • Reviewed
    • This adds a new per-region metric named "lastMajorCompactionAge" for tracking time since the last major compaction ran on a given region. If a major compaction has never run, the age will be equal to the current timestamp.

    Description

      After HBASE-12859, we can now track the last major compaction timestamp for each region. However, this is only exposed through cluster status reporting and the admin API.

      We have similar per-region metrics around storefile age, but none that filters on major compaction specifically.

      Let's add a metric for last major compaction age.

      Attachments

        1. HBASE-16661.001.patch
          7 kB
          Dustin Pho
        2. HBASE-16661.002.patch
          10 kB
          Dustin Pho
        3. HBASE-16661.003.patch
          10 kB
          Dustin Pho

        Activity

          People

            pho Dustin Pho
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: