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 Random | 
random  | 
private org.apache.hadoop.hbase.trace.SpanReceiverHost | 
receiverHost  | 
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)  | 
private void | 
setupReceiver()  | 
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfpublic 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
private org.apache.hadoop.hbase.trace.SpanReceiverHost receiverHost
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
Exceptionprivate void setupReceiver()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.