ndimiduk opened a new pull request #2520: URL: https://github.com/apache/hbase/pull/2520
Implement a rate limiter for the normalizer. Implemented in terms of MB/sec of affacted region size (the same metrics used to make normalization decisions). Uses Guava `RateLimiter` to perform the resource accounting. `RateLimiter` works by blocking (uninterruptible 😖) the calling thread. Thus, the whole construction of the normalizer subsystem needed refactoring. See the provided `package-info.java` for an overview of this new structure. 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 `1_000_000`. Supports values configured using the human-readable suffixes honored by `Configuration.getLongBytes` Signed-off-by: Viraj Jasani <[email protected]> Signed-off-by: Huaxiang Sun <[email protected]> Signed-off-by: Michael Stack <[email protected]> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
