瀏覽代碼

MAPREDUCE-911. Fix a bug in TestTaskFail related to speculative execution. Contributed by Amareshwari Sriramadasu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20@809840 13f79535-47bb-0310-9956-ffa450edef68
Sharad Agarwal 16 年之前
父節點
當前提交
36b703de38
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 1 0
      src/test/org/apache/hadoop/mapred/TestTaskFail.java

+ 3 - 0
CHANGES.txt

@@ -247,6 +247,9 @@ Release 0.20.1 - 2009-08-27
     HDFS-525. The SimpleDateFormat object in ListPathsServlet is not thread
     safe. (Suresh Srinivas and cdouglas)
 
+    MAPREDUCE-911. Fix a bug in TestTaskFail related to speculative 
+    execution. (Amareshwari Sriramadasu via sharad)
+
 Release 0.20.0 - 2009-04-15
 
   INCOMPATIBLE CHANGES

+ 1 - 0
src/test/org/apache/hadoop/mapred/TestTaskFail.java

@@ -101,6 +101,7 @@ public class TestTaskFail extends TestCase {
     conf.setNumReduceTasks(0);
     FileInputFormat.setInputPaths(conf, inDir);
     FileOutputFormat.setOutputPath(conf, outDir);
+    conf.setSpeculativeExecution(false);
     String TEST_ROOT_DIR = new Path(System.getProperty("test.build.data",
                                     "/tmp")).toString().replace(' ', '+');
     conf.set("test.build.data", TEST_ROOT_DIR);