hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r642045 - in /hadoop/core/branches/branch-0.16: CHANGES.txt src/test/org/apache/hadoop/mapred/lib/TestMultithreadedMapRunner.java
Date Fri, 28 Mar 2008 00:28:24 GMT
Author: cdouglas
Date: Thu Mar 27 17:28:23 2008
New Revision: 642045

URL: http://svn.apache.org/viewvc?rev=642045&view=rev
Log:
HADOOP-3105. Fix TestMultiThreadedMapRunner to use interfaces
available to 0.16. Clearly, this fix was not checked into trunk.
Contributed by Alejandro Abdelnur and Mukund Madhugiri.


Modified:
    hadoop/core/branches/branch-0.16/CHANGES.txt
    hadoop/core/branches/branch-0.16/src/test/org/apache/hadoop/mapred/lib/TestMultithreadedMapRunner.java

Modified: hadoop/core/branches/branch-0.16/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.16/CHANGES.txt?rev=642045&r1=642044&r2=642045&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.16/CHANGES.txt (original)
+++ hadoop/core/branches/branch-0.16/CHANGES.txt Thu Mar 27 17:28:23 2008
@@ -51,6 +51,10 @@
 
     HADOOP-3107. Fix NPE when fsck invokes getListings. (dhruba)
 
+    HADOOP-3105. Fix TestMultiThreadedMapRunner to use interfaces
+    available to 0.16. Clearly, this fix was not checked into trunk.
+    (Alejandro Abdelnur and Mukund Madhugiri via cdouglas)
+
 Release 0.16.1 - 2008-03-13
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/branches/branch-0.16/src/test/org/apache/hadoop/mapred/lib/TestMultithreadedMapRunner.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.16/src/test/org/apache/hadoop/mapred/lib/TestMultithreadedMapRunner.java?rev=642045&r1=642044&r2=642045&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.16/src/test/org/apache/hadoop/mapred/lib/TestMultithreadedMapRunner.java
(original)
+++ hadoop/core/branches/branch-0.16/src/test/org/apache/hadoop/mapred/lib/TestMultithreadedMapRunner.java
Thu Mar 27 17:28:23 2008
@@ -20,6 +20,7 @@
 
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
+import org.apache.hadoop.fs.FileUtil;
 import org.apache.hadoop.io.LongWritable;
 import org.apache.hadoop.io.Text;
 import org.apache.hadoop.mapred.*;
@@ -61,7 +62,7 @@
     JobConf conf = createJobConf();
     FileSystem fs = FileSystem.get(conf);
 
-    fs.delete(outDir, true);
+    FileUtil.fullyDelete(fs, outDir);
     if (!fs.mkdirs(inDir)) {
       throw new IOException("Mkdirs failed to create " + inDir.toString());
     }



Mime
View raw message