public class DumpClusterStatusAction extends Action
Action.ActionContext
Modifier and Type | Field and Description |
---|---|
private Set<org.apache.hadoop.hbase.net.Address> |
initialRegionServers |
private static org.slf4j.Logger |
LOG |
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 and Description |
---|
DumpClusterStatusAction() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected org.slf4j.Logger |
getLogger()
Retrieve the instance's
Logger , for use throughout the class hierarchy. |
void |
init(Action.ActionContext context) |
void |
perform() |
private void |
reportMissingRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics) |
private void |
reportNewRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics) |
forceBalancer, getConf, getCurrentServers, killDataNode, killMaster, killNameNode, killRs, killZKNode, modifyAllTableColumns, modifyAllTableColumns, resumeRs, setBalancer, startDataNode, startMaster, startNameNode, startRs, startZKNode, stopRs, suspendRs, unbalanceRegions
private static final org.slf4j.Logger LOG
private Set<org.apache.hadoop.hbase.net.Address> initialRegionServers
public DumpClusterStatusAction()
protected org.slf4j.Logger getLogger()
Action
Logger
, for use throughout the class hierarchy.public void init(Action.ActionContext context) throws IOException
init
in class Action
IOException
private static Set<org.apache.hadoop.hbase.net.Address> collectKnownRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics)
private void reportMissingRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics)
private void reportNewRegionServers(org.apache.hadoop.hbase.ClusterMetrics clusterMetrics)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.