@InterfaceAudience.Public
public class ExportSnapshot
extends org.apache.hadoop.hbase.util.AbstractHBaseTool
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportSnapshot.Counter |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_DEST_PREFIX
Configuration prefix for overrides for the destination filesystem
|
protected static String |
CONF_SKIP_TMP |
static String |
CONF_SOURCE_PREFIX
Configuration prefix for overrides for the source filesystem
|
static String |
NAME |
| Constructor and Description |
|---|
ExportSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
int |
doWork()
Execute the export snapshot by copying the snapshot metadata, hfiles and wals.
|
static void |
main(String[] args) |
protected void |
printUsage() |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, processOldArgs, run, setConfpublic static final String NAME
public static final String CONF_SOURCE_PREFIX
public static final String CONF_DEST_PREFIX
protected static final String CONF_SKIP_TMP
protected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolpublic int doWork()
throws IOException
doWork in class org.apache.hadoop.hbase.util.AbstractHBaseToolIOExceptionprotected void printUsage()
printUsage in class org.apache.hadoop.hbase.util.AbstractHBaseToolprotected void addOptions()
addOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolpublic static void main(String[] args)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.