MAPREDUCE-5419. TestSlive is getting FileNotFound Exception. Contributed by Robert Parker

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1507486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Darrell Lowe 2013-07-26 22:01:25 +00:00
parent 38adf46c02
commit 7b5aa72d0a
2 changed files with 9 additions and 1 deletions

View File

@ -624,6 +624,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.
@ -1255,6 +1258,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 */