@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, runprivate 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.ConfigurablesetConf in class org.apache.hadoop.hbase.util.AbstractHBaseToolprotected 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.AbstractHBaseToolprotected void testHdfsStreaming(org.apache.hadoop.fs.Path filename) throws IOException
IOExceptionprivate org.apache.hadoop.hbase.client.Scan getScan()
public void testScan() throws IOException
IOExceptionpublic void testSnapshotScan() throws IOException
IOExceptionpublic 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.AbstractHBaseToolExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.