Class DumpClusterStatusAction
java.lang.Object
org.apache.hadoop.hbase.chaos.actions.Action
org.apache.hadoop.hbase.chaos.actions.DumpClusterStatusAction
Action to dump the cluster status.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.chaos.actions.Action
Action.ActionContext -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<org.apache.hadoop.hbase.net.Address>private static final org.slf4j.LoggerFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Set<org.apache.hadoop.hbase.net.Address>collectKnownRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics) Build a set of all the host:port pairs of region servers known to this cluster.protected org.slf4j.LoggerRetrieve the instance'sLogger, for use throughout the class hierarchy.voidinit(Action.ActionContext context) voidperform()private voidreportMissingRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics) private voidreportNewRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics) Methods inherited from class org.apache.hadoop.hbase.chaos.actions.Action
forceBalancer, getConf, getCurrentServers, killDataNode, killJournalNode, killMaster, killNameNode, killRs, killZKNode, modifyAllTableColumns, modifyAllTableColumns, resumeRs, setBalancer, startDataNode, startJournalNode, startMaster, startNameNode, startRs, startZKNode, stopRs, suspendRs, unbalanceRegions
-
Field Details
-
LOG
-
initialRegionServers
-
-
Constructor Details
-
DumpClusterStatusAction
public DumpClusterStatusAction()
-
-
Method Details
-
getLogger
Description copied from class:ActionRetrieve the instance'sLogger, for use throughout the class hierarchy. -
init
- Overrides:
initin classAction- Throws:
IOException
-
perform
-
collectKnownRegionServers
private static Set<org.apache.hadoop.hbase.net.Address> collectKnownRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics) Build a set of all the host:port pairs of region servers known to this cluster. -
reportMissingRegionServers
-
reportNewRegionServers
-