@InterfaceAudience.LimitedPrivate(value="Tools") public class ScanPerformanceEvaluation extends org.apache.hadoop.hbase.util.AbstractHBaseTool
Modifier and Type | Class and Description |
---|---|
static class |
ScanPerformanceEvaluation.MyMapper<KEYOUT,VALUEOUT> |
static class |
ScanPerformanceEvaluation.ScanCounter |
Modifier and Type | Field and Description |
---|---|
private String |
caching |
private String |
file |
private static String |
HBASE_COUNTER_GROUP_NAME |
private String |
restoreDir |
private String |
snapshotName |
private String |
tablename |
private String |
type |
Constructor and Description |
---|
ScanPerformanceEvaluation() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions() |
protected int |
doWork() |
private org.apache.hadoop.hbase.client.Scan |
getScan() |
static void |
main(String[] args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
protected void |
testHdfsStreaming(org.apache.hadoop.fs.Path filename) |
void |
testScan() |
void |
testScanMapReduce() |
void |
testSnapshotScan() |
void |
testSnapshotScanMapReduce() |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run
private static final String HBASE_COUNTER_GROUP_NAME
private String snapshotName
private String restoreDir
public ScanPerformanceEvaluation()
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
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
protected void testHdfsStreaming(org.apache.hadoop.fs.Path filename) throws IOException
IOException
private org.apache.hadoop.hbase.client.Scan getScan()
public void testScan() throws IOException
IOException
public void testSnapshotScan() throws IOException
IOException
public void testScanMapReduce() throws IOException, InterruptedException, ClassNotFoundException
public void testSnapshotScanMapReduce() throws IOException, InterruptedException, ClassNotFoundException
protected int doWork() throws Exception
doWork
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.