MAPREDUCE-5598. TestUserDefinedCounters.testMapReduceJob is flakey. Contributed by Robert Kanter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1536724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0c99b80d4
commit
c9643795c1
@ -234,6 +234,9 @@ Release 2.2.1 - UNRELEASED
|
||||
MAPREDUCE-5561. org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl
|
||||
testcase failing on trunk (Karthik Kambatla via jlowe)
|
||||
|
||||
MAPREDUCE-5598. TestUserDefinedCounters.testMapReduceJob is flakey
|
||||
(Robert Kanter via jlowe)
|
||||
|
||||
Release 2.2.0 - 2013-10-13
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -40,7 +40,8 @@ public class TestUserDefinedCounters extends TestCase {
|
||||
|
||||
private static String TEST_ROOT_DIR =
|
||||
new File(System.getProperty("test.build.data", "/tmp")).toURI()
|
||||
.toString().replace(' ', '+');
|
||||
.toString().replace(' ', '+')
|
||||
+ "/" + TestUserDefinedCounters.class.getName();
|
||||
|
||||
private final Path INPUT_DIR = new Path(TEST_ROOT_DIR + "/input");
|
||||
private final Path OUTPUT_DIR = new Path(TEST_ROOT_DIR + "/out");
|
||||
@ -61,7 +62,7 @@ public void map(K key, V value,
|
||||
}
|
||||
|
||||
private void cleanAndCreateInput(FileSystem fs) throws IOException {
|
||||
fs.delete(INPUT_FILE, true);
|
||||
fs.delete(INPUT_DIR, true);
|
||||
fs.delete(OUTPUT_DIR, true);
|
||||
|
||||
OutputStream os = fs.create(INPUT_FILE);
|
||||
|
Loading…
Reference in New Issue
Block a user