Browse Source

commit 5e28dc387cd41b65e472025db3137f6291d4397a
Author: Jitendra Nath Pandey <jitendra@sufferhome-lm.(none)>
Date: Tue Mar 16 12:01:28 2010 -0700

MAPREDUCE-1599 from https://issues.apache.org/jira/secure/attachment/12438844/MR-1599-y20.1.patch

+++ b/YAHOO-CHANGES.txt
+ MAPREDUCE-1599. MRBench reuses jobConf and credentials there in.
+ (jitendra)
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077319 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 years ago
parent
commit
e7bb02b172
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/test/org/apache/hadoop/mapred/MRBench.java

+ 2 - 1
src/test/org/apache/hadoop/mapred/MRBench.java

@@ -161,7 +161,8 @@ public class MRBench extends Configured implements Tool{
     
     jobConf.setNumMapTasks(numMaps);
     jobConf.setNumReduceTasks(numReduces);
-    
+    jobConf
+        .setBoolean("mapreduce.job.complete.cancel.delegation.tokens", false);
     return jobConf; 
   }