public class DecreaseMaxHFileSizeAction extends Action
Action.ActionContext
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
private static long |
minFileSize |
private Random |
random |
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_RS_TIMEOUT_DEFAULT, KILL_RS_TIMEOUT_KEY, KILL_ZK_NODE_TIMEOUT_DEFAULT, KILL_ZK_NODE_TIMEOUT_KEY, killDataNodeTimeout, killMasterTimeout, killRsTimeout, killZkNodeTimeout, LOG, 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 |
---|
DecreaseMaxHFileSizeAction(long sleepTime,
org.apache.hadoop.hbase.TableName tableName) |
Modifier and Type | Method and Description |
---|---|
void |
init(Action.ActionContext context) |
void |
perform() |
forceBalancer, getConf, getCurrentServers, killDataNode, killMaster, killRs, killZKNode, modifyAllTableColumns, modifyAllTableColumns, startDataNode, startMaster, startRs, startZKNode, unbalanceRegions
private static final long minFileSize
private final long sleepTime
private final org.apache.hadoop.hbase.TableName tableName
private org.apache.hadoop.hbase.client.Admin admin
public DecreaseMaxHFileSizeAction(long sleepTime, org.apache.hadoop.hbase.TableName tableName)
public void init(Action.ActionContext context) throws IOException
init
in class Action
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.