You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2019/02/04 05:05:35 UTC

[hadoop] branch branch-2.9 updated: MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin.

This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new c558ff1  MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin.
c558ff1 is described below

commit c558ff18ecfc0fd5ee6e55c0cac196955b45e8cf
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Mon Feb 4 14:03:34 2019 +0900

    MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin.
    
    (cherry picked from commit c991e2ca5a65eae62bad7e5baf81f1eb633b7ec0)
    (cherry picked from commit faae522f520ba72796ec8db1a876cbe5e51245ce)
---
 .../src/test/java/org/apache/hadoop/fs/TestDFSIO.java                    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/fs/TestDFSIO.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/fs/TestDFSIO.java
index d09955d..c7e1fdb 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/fs/TestDFSIO.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/fs/TestDFSIO.java
@@ -453,6 +453,7 @@ public class TestDFSIO implements Tool {
     job.setOutputKeyClass(Text.class);
     job.setOutputValueClass(Text.class);
     job.setNumReduceTasks(1);
+    job.setSpeculativeExecution(false);
     JobClient.runJob(job);
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org