hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amareshw...@apache.org
Subject svn commit: r1027883 - in /hadoop/mapreduce/branches/branch-0.21: CHANGES.txt src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
Date Wed, 27 Oct 2010 10:00:17 GMT
Author: amareshwari
Date: Wed Oct 27 10:00:17 2010
New Revision: 1027883

URL: http://svn.apache.org/viewvc?rev=1027883&view=rev
Log:
MAPREDUCE-2032. Merge -r 994940:994941 from trunk

Modified:
    hadoop/mapreduce/branches/branch-0.21/CHANGES.txt
    hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java

Modified: hadoop/mapreduce/branches/branch-0.21/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.21/CHANGES.txt?rev=1027883&r1=1027882&r2=1027883&view=diff
==============================================================================
--- hadoop/mapreduce/branches/branch-0.21/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/branch-0.21/CHANGES.txt Wed Oct 27 10:00:17 2010
@@ -25,6 +25,9 @@ Release 0.21.1 - Unreleased
 
     MAPREDUCE-2134. ant binary-system is broken in mapreduce project. (cos)
 
+    MAPREDUCE-2032. Fixes TestJobCleanup to cleanup test directory in
+    tearDown. (Dick King via amareshwari)
+
 Release 0.21.0 - 2010-08-13
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java?rev=1027883&r1=1027882&r2=1027883&view=diff
==============================================================================
--- hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
(original)
+++ hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/mapred/TestJobCleanup.java
Wed Oct 27 10:00:17 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
+}



Mime
View raw message