From c991e2ca5a65eae62bad7e5baf81f1eb633b7ec0 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. --- .../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 10709bec0f..40f12295be 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 @@ private void runIOTest( job.setOutputKeyClass(Text.class); job.setOutputValueClass(Text.class); job.setNumReduceTasks(1); + job.setSpeculativeExecution(false); JobClient.runJob(job); }