@InterfaceAudience.Public @InterfaceStability.Evolving public class ExportSnapshot extends Configured
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportSnapshot.Counter |
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CONF_SKIP_TMP |
static java.lang.String |
NAME |
| Constructor and Description |
|---|
ExportSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
int |
run(java.lang.String[] args)
Execute the export snapshot by copying the snapshot metadata, hfiles and wals.
|
public static final java.lang.String NAME
protected static final java.lang.String CONF_SKIP_TMP
public int run(java.lang.String[] args)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception