public class MoveRegionsOfTableAction extends Action
Action.ActionContext
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private long |
maxTime |
private long |
sleepTime |
private org.apache.hadoop.hbase.TableName |
tableName |
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 |
---|
MoveRegionsOfTableAction(long sleepTime,
long maxSleepTime,
org.apache.hadoop.hbase.TableName tableName) |
Modifier and Type | Method and Description |
---|---|
protected org.slf4j.Logger |
getLogger()
Retrieve the instance's
Logger , for use throughout the class hierarchy. |
(package private) static org.apache.hadoop.hbase.ServerName[] |
getServers(org.apache.hadoop.hbase.client.Admin admin) |
(package private) static void |
moveRegion(org.apache.hadoop.hbase.client.Admin admin,
org.apache.hadoop.hbase.ServerName[] servers,
org.apache.hadoop.hbase.client.RegionInfo regionInfo,
org.slf4j.Logger logger) |
void |
perform() |
forceBalancer, getConf, getCurrentServers, init, 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 final long sleepTime
private final org.apache.hadoop.hbase.TableName tableName
private final long maxTime
public MoveRegionsOfTableAction(long sleepTime, long maxSleepTime, org.apache.hadoop.hbase.TableName tableName)
protected org.slf4j.Logger getLogger()
Action
Logger
, for use throughout the class hierarchy.static org.apache.hadoop.hbase.ServerName[] getServers(org.apache.hadoop.hbase.client.Admin admin) throws IOException
IOException
static void moveRegion(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.ServerName[] servers, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.slf4j.Logger logger)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.