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

Consolidate Normalizer implementations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.0
    • 3.0.0-alpha-1, 2.3.0
    • master, Normalizer
    • None
    • Hide
      <!-- markdown -->
      This change extends the Normalizer with a handful of new configurations. The configuration points supported are:
      * `hbase.normalizer.split.enabled` Whether to split a region as part of normalization. Default: `true`.
      * `hbase.normalizer.merge.enabled` Whether to merge a region as part of normalization. Default `true`.
      * `hbase.normalizer.min.region.count` The minimum number of regions in a table to consider it for merge normalization. Default: 3.
      * `hbase.normalizer.merge.min_region_age.days` The minimum age for a region to be considered for a merge, in days. Default: 3.
      * `hbase.normalizer.merge.min_region_size.mb` The minimum size for a region to be considered for a merge, in whole MBs. Default: 1.
      Show
      <!-- markdown --> This change extends the Normalizer with a handful of new configurations. The configuration points supported are: * `hbase.normalizer.split.enabled` Whether to split a region as part of normalization. Default: `true`. * `hbase.normalizer.merge.enabled` Whether to merge a region as part of normalization. Default `true`. * `hbase.normalizer.min.region.count` The minimum number of regions in a table to consider it for merge normalization. Default: 3. * `hbase.normalizer.merge.min_region_age.days` The minimum age for a region to be considered for a merge, in days. Default: 3. * `hbase.normalizer.merge.min_region_size.mb` The minimum size for a region to be considered for a merge, in whole MBs. Default: 1.

    Description

      After HBASE-22285, we have two implementations of RegionNormalizer, that have different feature sets and different configurations. I think these can be combined into a single implementation, with clear, decoupled configuration parameters. At least on branch-2.3, there's too many subsequent changes for HBASE-22285 to revert cleanly, so I'll use this ticket to consolidate the implementations.

      If you have issues with the current normalizer, speak up here and we can include them, or add them as sub-tasks.

      Attachments

        Issue Links

          Activity

            People

              ndimiduk Nick Dimiduk
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: