public class RestartMetaTest extends org.apache.hadoop.hbase.util.AbstractHBaseTool
| Modifier and Type | Field and Description | 
|---|---|
| private static int | DEFAULT_NUM_RSThe number of region servers used if not specified | 
| private static org.slf4j.Logger | LOG | 
| private static int | NUM_DATANODES | 
| private int | numRegionServersThe actual number of region servers | 
| private static String | OPT_NUM_RS | 
| private static int | SLEEP_SEC_AFTER_DATA_LOADThe number of seconds to sleep after loading the data | 
| private static org.apache.hadoop.hbase.TableName | TABLE_NAMETable 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, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfprivate 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
IOExceptionprotected int doWork() throws Exception
doWork in class org.apache.hadoop.hbase.util.AbstractHBaseToolExceptionprotected void addOptions()
addOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.