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
Modifier and TypeFieldDescriptionprivate static final long
private static final long
private static final long
private static final int
static final String
static final String
static final String
static final String
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.regionserver.throttle.PressureAwareThroughputController
activeOperations, controlPerSize, maxThroughputLowerBound, maxThroughputUpperBound, offPeakHours, tuningPeriod
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.regionserver.throttle.PressureAwareThroughputController
control, finish, getMaxThroughput, isStopped, setMaxThroughput, start, stop, throughputDesc, throughputDesc
Methods 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:ThroughputController
Setup controller for the given region server.- Specified by:
setup
in interfaceThroughputController
- Specified by:
setup
in classPressureAwareThroughputController
-
tune
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
- Overrides:
setConf
in classorg.apache.hadoop.conf.Configured
-
toString
-