MAPREDUCE-3215. Reneabled and fixed bugs in the failing test TestNoJobSetupCleanup. Contributed by Hitesh Shah.
svn merge -c r1197101 --ignore-ancestry ../../trunk/ git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1197102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
167f920da5
commit
ffc80a1e1d
|
@ -19,6 +19,9 @@ Release 0.23.1 - Unreleased
|
||||||
MAPREDUCE-3221. Reneabled the previously ignored test in TestSubmitJob
|
MAPREDUCE-3221. Reneabled the previously ignored test in TestSubmitJob
|
||||||
and fixed bugs in it. (Devaraj K via vinodkv)
|
and fixed bugs in it. (Devaraj K via vinodkv)
|
||||||
|
|
||||||
|
MAPREDUCE-3215. Reneabled and fixed bugs in the failing test
|
||||||
|
TestNoJobSetupCleanup. (Hitesh Shah via vinodkv)
|
||||||
|
|
||||||
Release 0.23.0 - 2011-11-01
|
Release 0.23.0 - 2011-11-01
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -56,16 +56,15 @@ public class TestNoJobSetupCleanup extends HadoopTestCase {
|
||||||
FileSystem fs = FileSystem.get(conf);
|
FileSystem fs = FileSystem.get(conf);
|
||||||
assertTrue("Job output directory doesn't exit!", fs.exists(outDir));
|
assertTrue("Job output directory doesn't exit!", fs.exists(outDir));
|
||||||
|
|
||||||
// TODO
|
// job commit done only in cleanup
|
||||||
/*
|
// therefore output should still be in temp location
|
||||||
// Disabling check for now to address builds until we fix underlying issue
|
String tempWorkingPathStr = outDir + Path.SEPARATOR + "_temporary"
|
||||||
// output still in temporary as job commit only seems
|
+ Path.SEPARATOR + "0";
|
||||||
// to be called during job cleanup
|
Path tempWorkingPath = new Path(tempWorkingPathStr);
|
||||||
FileStatus[] list = fs.listStatus(outDir, new OutputFilter());
|
FileStatus[] list = fs.listStatus(tempWorkingPath, new OutputFilter());
|
||||||
int numPartFiles = numReds == 0 ? numMaps : numReds;
|
int numPartFiles = numReds == 0 ? numMaps : numReds;
|
||||||
assertTrue("Number of part-files is " + list.length + " and not "
|
assertTrue("Number of part-files is " + list.length + " and not "
|
||||||
+ numPartFiles, list.length == numPartFiles);
|
+ numPartFiles, list.length == numPartFiles);
|
||||||
*/
|
|
||||||
return job;
|
return job;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue