Class UnbalanceKillAndRebalanceAction
java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.UnbalanceKillAndRebalanceAction
This action is too specific to put in ChaosMonkey; put it here
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.chaos.actions.ActionAction.ActionContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleFractions of servers to get regions and live and die respectively; from all other servers, HOARD_FRC_OF_REGIONS will be removed to the above randomlyprivate static final doubleprivate final booleanprivate static final org.slf4j.Loggerprivate final longprivate final longprivate final longWaits between calling unbalance and killing servers, kills and rebalance, and rebalance and restarting the servers; to make sure these events have time to impact the cluster.Fields inherited from class org.apache.hadoop.hbase.chaos.actions.Actioncluster, 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 SummaryConstructorsConstructorDescriptionUnbalanceKillAndRebalanceAction(long waitUnbalance, long waitKill, long waitAfterBalance, boolean killMetaRs) 
- 
Method SummaryMethods inherited from class org.apache.hadoop.hbase.chaos.actions.ActionforceBalancer, 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
- 
FRC_SERVERS_THAT_HOARD_AND_LIVEFractions of servers to get regions and live and die respectively; from all other servers, HOARD_FRC_OF_REGIONS will be removed to the above randomly- See Also:
 
- 
FRC_SERVERS_THAT_HOARD_AND_DIE- See Also:
 
- 
HOARD_FRC_OF_REGIONS- See Also:
 
- 
waitForUnbalanceMilliSecWaits between calling unbalance and killing servers, kills and rebalance, and rebalance and restarting the servers; to make sure these events have time to impact the cluster.
- 
waitForKillsMilliSec
- 
waitAfterBalanceMilliSec
- 
killMetaRs
 
- 
- 
Constructor Details- 
UnbalanceKillAndRebalanceActionpublic UnbalanceKillAndRebalanceAction(long waitUnbalance, long waitKill, long waitAfterBalance, boolean killMetaRs) 
 
- 
- 
Method Details