Class CustomDateTieredCompactionPolicy


Custom implementation of DateTieredCompactionPolicy that calculates compaction boundaries based on the hbase.hstore.compaction.date.tiered.custom.age.limit.millis configuration property and the TIERING_CELL_MIN/TIERING_CELL_MAX stored on metadata of each store file. This policy would produce either one or two tiers: - One tier if either all files data age are older than the configured age limit or all files data age are younger than the configured age limit. - Two tiers if files have both younger and older data than the configured age limit.