HADOOP-9025. org.apache.hadoop.tools.TestCopyListing failing. Contributed by Jonathan Eagles

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1408604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Darrell Lowe 2012-11-13 05:53:26 +00:00
parent 3492ab6de0
commit 1ebe1d8303
2 changed files with 5 additions and 2 deletions

View File

@ -1146,6 +1146,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

View File

@ -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);