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

Region normalizer now respects a rate limit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.4.0
    • 3.0.0-alpha-1, 2.4.0
    • Normalizer
    • None
    • Reviewed
    • Hide
      <!-- markdown -->
      Introduces a new configuration, `hbase.normalizer.throughput.max_bytes_per_sec`, for specifying a limit on the throughput of actions executed by the normalizer. Note that while this configuration value is in bytes, the minimum honored valued is `1,000,000`, or `1m`. Supports values configured using the human-readable suffixes honored by [`Configuration.getLongBytes`](https://hadoop.apache.org/docs/current/api/org/apache/hadoop/conf/Configuration.html#getLongBytes-java.lang.String-long-)
      Show
      <!-- markdown --> Introduces a new configuration, `hbase.normalizer.throughput.max_bytes_per_sec`, for specifying a limit on the throughput of actions executed by the normalizer. Note that while this configuration value is in bytes, the minimum honored valued is `1,000,000`, or `1m`. Supports values configured using the human-readable suffixes honored by [`Configuration.getLongBytes`]( https://hadoop.apache.org/docs/current/api/org/apache/hadoop/conf/Configuration.html#getLongBytes-java.lang.String-long- )

    Description

      There's no limits on the normalizer right now. It will iterate through the tables one at a time until it's touched all tables. For any table, it generates a complete plan and executes that plan in totality.

      It would be nice to allow operators to configure some limits here. Off the top of my head, the two metrics that might be interesting are split|merge actions / hour or hfile mb volume / hour. Either way, we'd need to track a little more metadata.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: