org.apache.hadoop.hbase.snapshot
Class CreateSnapshot
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.snapshot.CreateSnapshot
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class CreateSnapshot
- extends AbstractHBaseTool
This is a command line class that will snapshot a given table.
Methods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool |
addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, parseArgs, parseInt, parseLong, printUsage, printUsage, run, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateSnapshot
public CreateSnapshot()
main
public static void main(String[] args)
addOptions
protected void addOptions()
- Description copied from class:
AbstractHBaseTool
- Override this to add command-line options using
AbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods.
- Specified by:
addOptions
in class AbstractHBaseTool
processOptions
protected void processOptions(org.apache.commons.cli.CommandLine cmd)
- Description copied from class:
AbstractHBaseTool
- This method is called to process the options after they have been parsed.
- Specified by:
processOptions
in class AbstractHBaseTool
doWork
protected int doWork()
throws Exception
- Description copied from class:
AbstractHBaseTool
- The "main function" of the tool
- Specified by:
doWork
in class AbstractHBaseTool
- Throws:
Exception
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.