public class RestartMetaTest extends org.apache.hadoop.hbase.util.AbstractHBaseTool
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_NUM_RS
The number of region servers used if not specified
|
private static org.slf4j.Logger |
LOG |
private static int |
NUM_DATANODES |
private int |
numRegionServers
The actual number of region servers
|
private static String |
OPT_NUM_RS |
private static int |
SLEEP_SEC_AFTER_DATA_LOAD
The number of seconds to sleep after loading the data
|
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME
Table name for the test
|
Constructor and Description |
---|
RestartMetaTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions() |
protected int |
doWork() |
private void |
loadData()
Loads data into the table using the multi-threaded writer.
|
static void |
main(String[] args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
private static final org.slf4j.Logger LOG
private static final int DEFAULT_NUM_RS
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static final int SLEEP_SEC_AFTER_DATA_LOAD
private int numRegionServers
private static final String OPT_NUM_RS
private static final int NUM_DATANODES
public RestartMetaTest()
private void loadData() throws IOException
IOException
protected int doWork() throws Exception
doWork
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
Exception
protected void addOptions()
addOptions
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
protected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.