public class RollingBatchRestartRsExceptMetaAction extends RollingBatchRestartRsAction
RollingBatchRestartRsAction
except that this action
does not restart the region server holding the META table.RollingBatchRestartRsAction.KillOrStart
Action.ActionContext
maxDeadServers
ratio
sleepTime
cluster, context, initialServers, initialStatus, KILL_DATANODE_TIMEOUT_DEFAULT, KILL_DATANODE_TIMEOUT_KEY, KILL_MASTER_TIMEOUT_DEFAULT, KILL_MASTER_TIMEOUT_KEY, KILL_RS_TIMEOUT_DEFAULT, KILL_RS_TIMEOUT_KEY, KILL_ZK_NODE_TIMEOUT_DEFAULT, KILL_ZK_NODE_TIMEOUT_KEY, killDataNodeTimeout, killMasterTimeout, killRsTimeout, killZkNodeTimeout, START_DATANODE_TIMEOUT_DEFAULT, START_DATANODE_TIMEOUT_KEY, START_MASTER_TIMEOUT_DEFAULT, START_MASTER_TIMEOUT_KEY, START_RS_TIMEOUT_DEFAULT, START_RS_TIMEOUT_KEY, START_ZK_NODE_TIMEOUT_DEFAULT, START_ZK_NODE_TIMEOUT_KEY, startDataNodeTimeout, startMasterTimeout, startRsTimeout, startZkNodeTimeout
Constructor and Description |
---|
RollingBatchRestartRsExceptMetaAction(long sleepTime,
float ratio,
int maxDeadServers) |
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.hadoop.hbase.ServerName> |
selectServers() |
main, perform
restartDataNode, restartMaster, restartRs, restartZKNode, sleep
forceBalancer, getConf, getCurrentServers, init, killDataNode, killMaster, killRs, killZKNode, modifyAllTableColumns, modifyAllTableColumns, startDataNode, startMaster, startRs, startZKNode, unbalanceRegions
public RollingBatchRestartRsExceptMetaAction(long sleepTime, float ratio, int maxDeadServers)
protected List<org.apache.hadoop.hbase.ServerName> selectServers() throws IOException
selectServers
in class RollingBatchRestartRsAction
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.