Class ReorderPacketsCommandAction
java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.SudoCommandAction
org.apache.hadoop.hbase.chaos.actions.TCCommandAction
org.apache.hadoop.hbase.chaos.actions.ReorderPacketsCommandAction
Reorder network packets on a random regionserver.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.chaos.actions.ActionAction.ActionContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final longprivate final longprivate static final org.slf4j.Loggerprivate final floatFields inherited from class org.apache.hadoop.hbase.chaos.actions.TCCommandActionADD, DELETE, networkFields inherited from class org.apache.hadoop.hbase.chaos.actions.SudoCommandActionclusterManager, timeoutFields 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 SummaryConstructorsConstructorDescriptionReorderPacketsCommandAction(float ratio, long duration, long delay, long timeout, String network) Reorder network packets on a random regionserver.
- 
Method SummaryModifier and TypeMethodDescriptionprivate StringgetCommand(String operation) protected org.slf4j.LoggerRetrieve the instance'sLogger, for use throughout the class hierarchy.protected voidMethods inherited from class org.apache.hadoop.hbase.chaos.actions.SudoCommandActioninit, performMethods inherited from class org.apache.hadoop.hbase.chaos.actions.ActionforceBalancer, getConf, getCurrentServers, killDataNode, killJournalNode, killMaster, killNameNode, killRs, killZKNode, modifyAllTableColumns, modifyAllTableColumns, resumeRs, setBalancer, startDataNode, startJournalNode, startMaster, startNameNode, startRs, startZKNode, stopRs, suspendRs, unbalanceRegions
- 
Field Details- 
LOG
- 
ratio
- 
duration
- 
delay
 
- 
- 
Constructor Details- 
ReorderPacketsCommandActionpublic ReorderPacketsCommandAction(float ratio, long duration, long delay, long timeout, String network) Reorder network packets on a random regionserver.- Parameters:
- ratio- the ratio of packets reordered
- duration- the time this issue persists in milliseconds
- delay- the delay between reordered and non-reordered packets in milliseconds
- timeout- the timeout for executing required commands on the region server in milliseconds
- network- network interface the regionserver uses for communication
 
 
- 
- 
Method Details- 
getLoggerDescription copied from class:ActionRetrieve the instance'sLogger, for use throughout the class hierarchy.
- 
localPerform- Specified by:
- localPerformin class- SudoCommandAction
- Throws:
- IOException
 
- 
getCommand
 
-