Class UnbalanceRegionsAction
java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.UnbalanceRegionsAction
Action that tries to unbalance the regions of a cluster.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.chaos.actions.ActionAction.ActionContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate static final org.slf4j.LoggerFields 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 SummaryConstructorsConstructorDescriptionUnbalanceRegionsAction(double fractionOfRegions, double fractionOfServers) Unbalances the regions on the cluster by choosing "target" servers, and moving some regions from each of the non-target servers to random target servers.
- 
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
- 
fractionOfRegions
- 
fractionOfServers
 
- 
- 
Constructor Details- 
UnbalanceRegionsActionUnbalances the regions on the cluster by choosing "target" servers, and moving some regions from each of the non-target servers to random target servers.- Parameters:
- fractionOfRegions- Fraction of regions to move from each server.
- fractionOfServers- Fraction of servers to be chosen as targets.
 
 
- 
- 
Method Details