diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java index ea3c70519be..8b5b62a0134 100644 --- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java +++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java @@ -213,6 +213,7 @@ public class TestExportSnapshot { opts.add("--snapshot"); opts.add(snapshotName); opts.add("--copy-to"); + opts.add(tgtDir.toString()); if (!targetName.equals(snapshotName)) { opts.add("--target"); opts.add(targetName);