From 97fa326b79ee11b24ab8df2516c9ce1dbbbb1a2b Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Mon, 4 Feb 2019 14:03:34 +0900 Subject: [PATCH] MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin. (cherry picked from commit c991e2ca5a65eae62bad7e5baf81f1eb633b7ec0) --- .../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 10709bec0fe..40f12295be1 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 @@ -472,6 +472,7 @@ public class TestDFSIO implements Tool { job.setOutputKeyClass(Text.class); job.setOutputValueClass(Text.class); job.setNumReduceTasks(1); + job.setSpeculativeExecution(false); JobClient.runJob(job); }