MAPREDUCE-7177. Disable speculative execution in TestDFSIO. Contributed by Zhaohui Xin.
(cherry picked from commit c991e2ca5a
)
This commit is contained in:
parent
9a31dd4c67
commit
72b3baf207
|
@ -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