@InterfaceAudience.LimitedPrivate(value="Tools") public class ScanPerformanceEvaluation extends AbstractHBaseTool
| Modifier and Type | Class and Description |
|---|---|
static class |
ScanPerformanceEvaluation.MyMapper<KEYOUT,VALUEOUT> |
static class |
ScanPerformanceEvaluation.ScanCounter |
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS| Constructor and Description |
|---|
ScanPerformanceEvaluation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions()
Override this to add command-line options using
AbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods. |
protected int |
doWork()
The "main function" of the tool
|
static void |
main(String[] args) |
protected void |
processOptions(CommandLine cmd)
This method is called to process the options after they have been parsed.
|
void |
setConf(Configuration conf) |
protected void |
testHdfsStreaming(Path filename) |
void |
testScan() |
void |
testScanMapReduce() |
void |
testSnapshotScan() |
void |
testSnapshotScanMapReduce() |
addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, parseArgs, parseInt, parseLong, printUsage, printUsage, runpublic void setConf(Configuration conf)
setConf in class AbstractHBaseToolprotected void addOptions()
AbstractHBaseToolAbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods.addOptions in class AbstractHBaseToolprotected void processOptions(CommandLine cmd)
AbstractHBaseToolprocessOptions in class AbstractHBaseToolprotected void testHdfsStreaming(Path filename)
throws IOException
IOExceptionpublic 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
AbstractHBaseTooldoWork in class AbstractHBaseToolException