@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, run
public void setConf(Configuration conf)
setConf
in class AbstractHBaseTool
protected void addOptions()
AbstractHBaseTool
AbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods.addOptions
in class AbstractHBaseTool
protected void processOptions(CommandLine cmd)
AbstractHBaseTool
processOptions
in class AbstractHBaseTool
protected void testHdfsStreaming(Path filename) throws IOException
IOException
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
AbstractHBaseTool
doWork
in class AbstractHBaseTool
Exception