You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by am...@apache.org on 2010/09/08 11:40:04 UTC
svn commit: r994941 - in /hadoop/mapreduce/trunk: CHANGES.txt
src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
Author: amareshwari
Date: Wed Sep 8 09:40:03 2010
New Revision: 994941
URL: http://svn.apache.org/viewvc?rev=994941&view=rev
Log:
MAPREDUCE-2032. Fixes TestJobCleanup to cleanup test directory in tearDown. Contributed by Dick King
Modified:
hadoop/mapreduce/trunk/CHANGES.txt
hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=994941&r1=994940&r2=994941&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Wed Sep 8 09:40:03 2010
@@ -286,6 +286,9 @@ Trunk (unreleased changes)
MAPREDUCE-1597. Fixes CombineFileInputFormat to work with non-splittable
files. (amareshwari)
+ MAPREDUCE-2032. Fixes TestJobCleanup to cleanup test directory in
+ tearDown. (Dick King via amareshwari)
+
Release 0.21.0 - Unreleased
INCOMPATIBLE CHANGES
Modified: hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java?rev=994941&r1=994940&r2=994941&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java (original)
+++ hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java Wed Sep 8 09:40:03 2010
@@ -77,6 +77,7 @@ public class TestJobCleanup extends Test
protected void tearDown() throws Exception {
if (fileSys != null) {
+ fileSys.delete(new Path(TEST_ROOT_DIR), true);
fileSys.close();
}
if (mr != null) {
@@ -302,4 +303,4 @@ public class TestJobCleanup extends Test
CommitterWithCustomDeprecatedCleanup.class,
new String[] {FileOutputCommitter.SUCCEEDED_FILE_NAME});
}
-}
\ No newline at end of file
+}