MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin.

(cherry picked from commit c991e2ca5a)
This commit is contained in:
Akira Ajisaka 2019-02-04 14:03:34 +09:00
parent 9a31dd4c67
commit 72b3baf207
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ public class TestDFSIO implements Tool {
job.setOutputKeyClass(Text.class); job.setOutputKeyClass(Text.class);
job.setOutputValueClass(Text.class); job.setOutputValueClass(Text.class);
job.setNumReduceTasks(1); job.setNumReduceTasks(1);
job.setSpeculativeExecution(false);
JobClient.runJob(job); JobClient.runJob(job);
} }