hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r950286 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/mapred/org/apache/hadoop/mapred/MRBench.java
Date Tue, 01 Jun 2010 22:32:45 GMT
Author: ddas
Date: Tue Jun  1 22:32:45 2010
New Revision: 950286

URL: http://svn.apache.org/viewvc?rev=950286&view=rev
Log:
MAPREDUCE-1599. Fixes MRBench so that it reuses tokens across jobs correctly. Contributed
by Jitendra Nath Pandey.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/MRBench.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=950286&r1=950285&r2=950286&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Tue Jun  1 22:32:45 2010
@@ -56,6 +56,9 @@ Trunk (unreleased changes)
     MAPREDUCE-1617. Use IPv4 stack for unit tests. (Amar Kamat and Luke Lu via
     cdouglas)
 
+    MAPREDUCE-1599. Fixes MRBench so that it reuses tokens across jobs
+    correctly. (Jitendra Nath Pandey via ddas)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/MRBench.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/MRBench.java?rev=950286&r1=950285&r2=950286&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/MRBench.java (original)
+++ hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/MRBench.java Tue Jun 
1 22:32:45 2010
@@ -161,7 +161,8 @@ public class MRBench extends Configured 
     
     jobConf.setNumMapTasks(numMaps);
     jobConf.setNumReduceTasks(numReduces);
-    
+    jobConf
+        .setBoolean("mapreduce.job.complete.cancel.delegation.tokens", false);
     return jobConf; 
   }
   



Mime
View raw message