org.apache.hadoop.hbase.snapshot
Class CreateSnapshot

java.lang.Object
  extended by org.apache.hadoop.hbase.util.AbstractHBaseTool
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS
 
Constructor Summary
CreateSnapshot()
           
 
Method Summary
protected  void addOptions()
           
protected  int doWork()
           
static void main(String[] args)
           
protected  void processOptions(org.apache.commons.cli.CommandLine cmd)
           
 
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
 

Constructor Detail

CreateSnapshot

public CreateSnapshot()
Method Detail

main

public static void main(String[] args)

addOptions

protected void addOptions()
Specified by:
addOptions in class AbstractHBaseTool

processOptions

protected void processOptions(org.apache.commons.cli.CommandLine cmd)
Specified by:
processOptions in class AbstractHBaseTool

doWork

protected int doWork()
              throws Exception
Specified by:
doWork in class AbstractHBaseTool
Throws:
Exception


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.