svn merge -c 1408604 FIXES: HADOOP-9025. org.apache.hadoop.tools.TestCopyListing failing. Contributed by Jonathan Eagles
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1408605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
067eabb820
commit
57657df4dc
|
@ -863,6 +863,9 @@ Release 0.23.5 - UNRELEASED
|
||||||
HADOOP-9022. Hadoop distcp tool fails to copy file if -m 0 specified
|
HADOOP-9022. Hadoop distcp tool fails to copy file if -m 0 specified
|
||||||
(Jonathan Eagles vai bobby)
|
(Jonathan Eagles vai bobby)
|
||||||
|
|
||||||
|
HADOOP-9025. org.apache.hadoop.tools.TestCopyListing failing (Jonathan
|
||||||
|
Eagles via jlowe)
|
||||||
|
|
||||||
Release 0.23.4 - UNRELEASED
|
Release 0.23.4 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -131,8 +131,8 @@ public class TestCopyListing extends SimpleCopyListing {
|
||||||
fs = FileSystem.get(getConf());
|
fs = FileSystem.get(getConf());
|
||||||
List<Path> srcPaths = new ArrayList<Path>();
|
List<Path> srcPaths = new ArrayList<Path>();
|
||||||
srcPaths.add(new Path("/tmp/in/*/*"));
|
srcPaths.add(new Path("/tmp/in/*/*"));
|
||||||
TestDistCpUtils.createFile(fs, "/tmp/in/1.txt");
|
TestDistCpUtils.createFile(fs, "/tmp/in/src1/1.txt");
|
||||||
TestDistCpUtils.createFile(fs, "/tmp/in/src/1.txt");
|
TestDistCpUtils.createFile(fs, "/tmp/in/src2/1.txt");
|
||||||
Path target = new Path("/tmp/out");
|
Path target = new Path("/tmp/out");
|
||||||
Path listingFile = new Path("/tmp/list");
|
Path listingFile = new Path("/tmp/list");
|
||||||
DistCpOptions options = new DistCpOptions(srcPaths, target);
|
DistCpOptions options = new DistCpOptions(srcPaths, target);
|
||||||
|
|
Loading…
Reference in New Issue