@InterfaceAudience.Public @InterfaceStability.Evolving public class ExportSnapshot extends org.apache.hadoop.conf.Configured 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 |
---|---|
static void |
main(String[] args) |
int |
run(String[] args)
Execute the export snapshot by copying the snapshot metadata, hfiles and wals.
|
public 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
public int run(String[] args) throws IOException
run
in interface org.apache.hadoop.util.Tool
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.