Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-alpha-1, 1.1.2, 2.2.0
-
None
-
API, Compaction, master, metrics, monitoring, UI
-
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
- relates to
-
HBASE-6028 Implement a cancel for in-progress compactions
- Closed
-
HBASE-20945 HBase JMX - timestamp of last Major Compaction (started, completed successfully)
- Open