@InterfaceAudience.Private @InterfaceStability.Evolving public class BackupDriver extends AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS| Constructor and Description |
|---|
BackupDriver() |
| 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
|
protected void |
init() |
static void |
main(java.lang.String[] args) |
protected void |
processOptions(CommandLine cmd)
This method is called to process the options after they have been parsed.
|
addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, parseArgs, parseInt, parseLong, printUsage, printUsage, run, setConfpublic BackupDriver()
throws java.io.IOException
java.io.IOExceptionprotected void init()
throws java.io.IOException
java.io.IOExceptionprotected 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 int doWork()
throws java.lang.Exception
AbstractHBaseTooldoWork in class AbstractHBaseTooljava.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception