Author: ddas
Date: Fri Dec 12 04:18:26 2008
New Revision: 725979

URL: http://svn.apache.org/viewvc?rev=725979&view=rev
Log:
HADOOP-4857. Fixes TestUlimit to have exactly 1 map in the jobs spawned. 
Contributed by Ravi Gummadi.

Modified:
    hadoop/core/trunk/CHANGES.txt
    
hadoop/core/trunk/src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestUlimit.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=725979&r1=725978&r2=725979&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Dec 12 04:18:26 2008
@@ -1458,6 +1458,9 @@
     HADOOP-4620. Fixes Streaming to handle well the cases of map/reduce with 
empty
     input/output. (Ravi Gummadi via ddas)
 
+    HADOOP-4857. Fixes TestUlimit to have exactly 1 map in the jobs spawned.
+    (Ravi Gummadi via ddas)
+
 Release 0.18.2 - 2008-11-03
 
   BUG FIXES

Modified: 
hadoop/core/trunk/src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestUlimit.java
URL: 
http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestUlimit.java?rev=725979&r1=725978&r2=725979&view=diff
==============================================================================
--- 
hadoop/core/trunk/src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestUlimit.java
 (original)
+++ 
hadoop/core/trunk/src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestUlimit.java
 Fri Dec 12 04:18:26 2008
@@ -53,6 +53,7 @@
       "-mapper", map,
       "-reducer", "org.apache.hadoop.mapred.lib.IdentityReducer",
       "-numReduceTasks", "0",
+      "-jobconf", "mapred.map.tasks=1",
       "-jobconf", "mapred.child.ulimit=" + memLimit,
       "-jobconf", "mapred.job.tracker=" + "localhost:" +
                                            mr.getJobTrackerPort(),


Reply via email to