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

HMaster UI & JMX - warn if Major Compaction hasn't occurred after hbase.hregion.majorcompaction time

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha-1, 1.1.2, 2.2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      HMaster UI + a JMX field should warn if Major Compaction hasn't occurred and completed successfully after the scheduling interval hbase.hregion.majorcompaction (default 7 days).

      Recent changes in HBase HBASE-6028 mean major compactions could be cancelled and result in read amplification over time. HMaster UI should monitor time since last major compaction completed successfully isn't greater than hbase.hregion.majorcompaction (plus some fudge factor).

      If hbase.hregion.majorcompaction is zero then disable the check, as external tooling will trigger major compactions off peak and should instead monitor against JMX timestamp of last major compaction as per HBASE-20945.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                harisekhon Hari Sekhon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: