Class PressureAwareCompactionThroughputController
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.regionserver.throttle.PressureAwareThroughputController
org.apache.hadoop.hbase.regionserver.throttle.PressureAwareCompactionThroughputController
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,ThroughputController,Stoppable
@LimitedPrivate("Configuration")
public class PressureAwareCompactionThroughputController
extends PressureAwareThroughputController
A throughput controller which uses the follow schema to limit throughput
- If compaction pressure is greater than 1.0, no limitation.
- In off peak hours, use a fixed throughput limitation "hbase.hstore.compaction.throughput.offpeak"
- In normal hours, the max throughput is tuned between "hbase.hstore.compaction.throughput.lower.bound" and "hbase.hstore.compaction.throughput.higher.bound", using the formula "lower + (higer - lower) * compactionPressure", where compactionPressure 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 Stringprivate static final Stringstatic final Stringprivate static final org.slf4j.Loggerprivate longFields 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_COMPACTION_MAX_THROUGHPUT_HIGHER_BOUND
- See Also:
-
DEFAULT_HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_HIGHER_BOUND
- See Also:
-
HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_LOWER_BOUND
- See Also:
-
DEFAULT_HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_LOWER_BOUND
- See Also:
-
HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_OFFPEAK
- See Also:
-
DEFAULT_HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_OFFPEAK
- See Also:
-
HBASE_HSTORE_COMPACTION_THROUGHPUT_TUNE_PERIOD
- See Also:
-
DEFAULT_HSTORE_COMPACTION_THROUGHPUT_TUNE_PERIOD
- See Also:
-
HBASE_HSTORE_COMPACTION_THROUGHPUT_CONTROL_CHECK_INTERVAL
- See Also:
-
maxThroughputOffpeak
-
-
Constructor Details
-
PressureAwareCompactionThroughputController
-
-
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
-