Class RollingBatchSuspendResumeRsAction
java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.RollingBatchSuspendResumeRsAction
Suspend then resume a ratio of the regionservers in a rolling fashion. At each step, either
suspend a server, or resume one, sleeping (sleepTime) in between steps. The parameter
maxSuspendedServers limits the maximum number of servers that can be down at the same time during
rolling restarts.
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static enum
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.chaos.actions.Action
Action.ActionContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final int
private final float
private final long
Fields inherited from class org.apache.hadoop.hbase.chaos.actions.Action
cluster, context, initialServers, initialStatus, KILL_DATANODE_TIMEOUT_DEFAULT, KILL_DATANODE_TIMEOUT_KEY, KILL_MASTER_TIMEOUT_DEFAULT, KILL_MASTER_TIMEOUT_KEY, KILL_NAMENODE_TIMEOUT_DEFAULT, KILL_NAMENODE_TIMEOUT_KEY, KILL_RS_TIMEOUT_DEFAULT, KILL_RS_TIMEOUT_KEY, KILL_ZK_NODE_TIMEOUT_DEFAULT, KILL_ZK_NODE_TIMEOUT_KEY, killDataNodeTimeout, killMasterTimeout, killNameNodeTimeout, killRsTimeout, killZkNodeTimeout, monkeyProps, skipMetaRS, START_DATANODE_TIMEOUT_DEFAULT, START_DATANODE_TIMEOUT_KEY, START_MASTER_TIMEOUT_DEFAULT, START_MASTER_TIMEOUT_KEY, START_NAMENODE_TIMEOUT_DEFAULT, START_NAMENODE_TIMEOUT_KEY, START_RS_TIMEOUT_DEFAULT, START_RS_TIMEOUT_KEY, START_ZK_NODE_TIMEOUT_DEFAULT, START_ZK_NODE_TIMEOUT_KEY, startDataNodeTimeout, startMasterTimeout, startNameNodeTimeout, startRsTimeout, startZkNodeTimeout
-
Constructor Summary
ConstructorDescriptionRollingBatchSuspendResumeRsAction
(long sleepTime, float ratio) RollingBatchSuspendResumeRsAction
(long sleepTime, float ratio, int maxSuspendedServers) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.chaos.actions.Action
forceBalancer, getConf, getCurrentServers, init, killDataNode, killJournalNode, killMaster, killNameNode, killRs, killZKNode, modifyAllTableColumns, modifyAllTableColumns, resumeRs, setBalancer, startDataNode, startJournalNode, startMaster, startNameNode, startRs, startZKNode, stopRs, suspendRs, unbalanceRegions
-
Field Details
-
LOG
-
ratio
-
sleepTime
-
maxSuspendedServers
-
-
Constructor Details
-
RollingBatchSuspendResumeRsAction
-
RollingBatchSuspendResumeRsAction
-
-
Method Details