MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin.
(cherry picked from commit c991e2ca5a
)
This commit is contained in:
parent
8887980d32
commit
97fa326b79
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue