public class IntegrationTestSendTraceRequests extends org.apache.hadoop.hbase.util.AbstractHBaseTool
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
static String |
CF_ARG |
static String |
COLUMN_FAMILY_DEFAULT |
private byte[] |
familyName |
private static org.slf4j.Logger |
LOG |
static String |
TABLE_ARG |
static String |
TABLE_NAME_DEFAULT |
private org.apache.hadoop.hbase.TableName |
tableName |
private IntegrationTestingUtility |
util |
| Constructor and Description |
|---|
IntegrationTestSendTraceRequests() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
private void |
createTable() |
private IntegrationTestingUtility |
createUtil() |
private void |
deleteTable() |
private void |
doGets(ExecutorService service,
LinkedBlockingQueue<Long> rowKeys) |
private void |
doScans(ExecutorService service,
LinkedBlockingQueue<Long> rks) |
int |
doWork() |
private LinkedBlockingQueue<Long> |
insertData() |
void |
internalDoWork() |
static void |
main(String[] args) |
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, setConfprivate static final org.slf4j.Logger LOG
public static final String TABLE_ARG
public static final String CF_ARG
public static final String TABLE_NAME_DEFAULT
public static final String COLUMN_FAMILY_DEFAULT
private org.apache.hadoop.hbase.TableName tableName
private byte[] familyName
private IntegrationTestingUtility util
private org.apache.hadoop.hbase.client.Admin admin
public IntegrationTestSendTraceRequests()
protected void addOptions()
addOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolpublic void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolpublic int doWork() throws Exception
doWork in class org.apache.hadoop.hbase.util.AbstractHBaseToolExceptionpublic void internalDoWork() throws Exception
Exceptionprivate void doScans(ExecutorService service, LinkedBlockingQueue<Long> rks)
private void doGets(ExecutorService service, LinkedBlockingQueue<Long> rowKeys) throws IOException
IOExceptionprivate void createTable() throws IOException
IOExceptionprivate void deleteTable() throws IOException
IOExceptionprivate LinkedBlockingQueue<Long> insertData() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate IntegrationTestingUtility createUtil() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.