Class PressureAwareFlushThroughputController
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.regionserver.throttle.PressureAwareThroughputController
org.apache.hadoop.hbase.regionserver.throttle.PressureAwareFlushThroughputController
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,ThroughputController,Stoppable
@LimitedPrivate("Configuration")
public class PressureAwareFlushThroughputController
extends PressureAwareThroughputController
A throughput controller which uses the follow schema to limit throughput
- If flush pressure is greater than or equal to 1.0, no limitation.
- In normal case, the max throughput is tuned between "hbase.hstore.flush.throughput.lower.bound" and "hbase.hstore.flush.throughput.upper.bound", using the formula "lower + (upper - lower) * flushPressure", where flushPressure is in range [0.0, 1.0)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate static final longprivate static final longprivate static final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.regionserver.throttle.PressureAwareThroughputController
activeOperations, controlPerSize, maxThroughputLowerBound, maxThroughputUpperBound, offPeakHours, tuningPeriod -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.regionserver.throttle.PressureAwareThroughputController
control, finish, getMaxThroughput, isStopped, setMaxThroughput, start, stop, throughputDesc, throughputDescMethods inherited from class org.apache.hadoop.conf.Configured
getConf
-
Field Details
-
LOG
-
HBASE_HSTORE_FLUSH_MAX_THROUGHPUT_UPPER_BOUND
- See Also:
-
DEFAULT_HBASE_HSTORE_FLUSH_MAX_THROUGHPUT_UPPER_BOUND
- See Also:
-
HBASE_HSTORE_FLUSH_MAX_THROUGHPUT_LOWER_BOUND
- See Also:
-
DEFAULT_HBASE_HSTORE_FLUSH_MAX_THROUGHPUT_LOWER_BOUND
- See Also:
-
HBASE_HSTORE_FLUSH_THROUGHPUT_TUNE_PERIOD
- See Also:
-
DEFAULT_HSTORE_FLUSH_THROUGHPUT_TUNE_PERIOD
- See Also:
-
HBASE_HSTORE_FLUSH_THROUGHPUT_CONTROL_CHECK_INTERVAL
- See Also:
-
DEFAULT_HBASE_HSTORE_FLUSH_THROUGHPUT_CONTROL_CHECK_INTERVAL
- See Also:
-
-
Constructor Details
-
PressureAwareFlushThroughputController
-
-
Method Details
-
setup
Description copied from interface:ThroughputControllerSetup controller for the given region server.- Specified by:
setupin interfaceThroughputController- Specified by:
setupin classPressureAwareThroughputController
-
tune
-
setConf
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable- Overrides:
setConfin classorg.apache.hadoop.conf.Configured
-
toString
-