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, setConf
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
private org.apache.hadoop.hbase.trace.SpanReceiverHost receiverHost
public IntegrationTestSendTraceRequests()
protected void addOptions()
addOptions
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
public void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
public int doWork() throws Exception
doWork
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
Exception
public void internalDoWork() throws Exception
Exception
private void doScans(ExecutorService service, LinkedBlockingQueue<Long> rks)
private void doGets(ExecutorService service, LinkedBlockingQueue<Long> rowKeys) throws IOException
IOException
private void createTable() throws IOException
IOException
private void deleteTable() throws IOException
IOException
private LinkedBlockingQueue<Long> insertData() throws IOException, InterruptedException
IOException
InterruptedException
private IntegrationTestingUtility createUtil() throws Exception
Exception
private void setupReceiver()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.