HBASE-11326 Use an InputFormat for ExportSnapshot (addendum)
This commit is contained in:
parent
b8428a68c3
commit
200579f5fd
|
@ -808,6 +808,7 @@ public final class ExportSnapshot extends Configured implements Tool {
|
||||||
outputRoot = new Path(args[++i]);
|
outputRoot = new Path(args[++i]);
|
||||||
} else if (cmd.equals("-copy-from")) {
|
} else if (cmd.equals("-copy-from")) {
|
||||||
inputRoot = new Path(args[++i]);
|
inputRoot = new Path(args[++i]);
|
||||||
|
FSUtils.setRootDir(conf, inputRoot);
|
||||||
} else if (cmd.equals("-no-checksum-verify")) {
|
} else if (cmd.equals("-no-checksum-verify")) {
|
||||||
verifyChecksum = false;
|
verifyChecksum = false;
|
||||||
} else if (cmd.equals("-no-target-verify")) {
|
} else if (cmd.equals("-no-target-verify")) {
|
||||||
|
|
Loading…
Reference in New Issue