svn merge -c 1507486 FIXES: MAPREDUCE-5419. TestSlive is getting FileNotFound Exception. Contributed by Robert Parker

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1507487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Darrell Lowe 2013-07-26 22:03:15 +00:00
parent 494dfb7163
commit 5df508c539
2 changed files with 9 additions and 1 deletions

View File

@ -487,6 +487,9 @@ Release 2.1.0-beta - 2013-07-02
MAPREDUCE-5421. Fixed TestNonExistentJob failure after YARN-873. (Junping Du
via vinodkv)
MAPREDUCE-5419. TestSlive is getting FileNotFound Exception (Robert Parker
via jlowe)
BREAKDOWN OF HADOOP-8562 SUBTASKS
MAPREDUCE-4739. Some MapReduce tests fail to find winutils.
@ -1130,6 +1133,9 @@ Release 0.23.10 - UNRELEASED
MAPREDUCE-5251. Reducer should not implicate map attempt if it has
insufficient space to fetch map output (Ashwin Shankar via jlowe)
MAPREDUCE-5419. TestSlive is getting FileNotFound Exception (Robert Parker
via jlowe)
Release 0.23.9 - 2013-07-08
INCOMPATIBLE CHANGES

View File

@ -63,7 +63,9 @@ public class TestSlive {
/** gets the test write location according to the coding guidelines */
private static File getWriteLoc() {
String writeLoc = System.getProperty(TEST_DATA_PROP, "build/test/data/");
return new File(writeLoc, "slive");
File writeDir = new File(writeLoc, "slive");
writeDir.mkdirs();
return writeDir;
}
/** gets where the MR job places its data + output + results */