MAPREDUCE-5868. Fixed an issue with TestPipeApplication that was causing the nightly builds to fail. Contributed by Akira Ajisaka.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1608579 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55e7ddf514
commit
d85f90e5b3
@ -291,6 +291,9 @@ Release 2.5.0 - UNRELEASED
|
|||||||
MAPREDUCE-5900. Changed to the interpret container preemption exit code as a
|
MAPREDUCE-5900. Changed to the interpret container preemption exit code as a
|
||||||
task attempt killing event. (Mayank Bansal via zjshen)
|
task attempt killing event. (Mayank Bansal via zjshen)
|
||||||
|
|
||||||
|
MAPREDUCE-5868. Fixed an issue with TestPipeApplication that was causing the
|
||||||
|
nightly builds to fail. (Akira Ajisaka via vinodkv)
|
||||||
|
|
||||||
Release 2.4.1 - 2014-06-23
|
Release 2.4.1 - 2014-06-23
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -183,6 +183,8 @@ public void testApplication() throws Throwable {
|
|||||||
output.setWriter(wr);
|
output.setWriter(wr);
|
||||||
conf.set(Submitter.PRESERVE_COMMANDFILE, "true");
|
conf.set(Submitter.PRESERVE_COMMANDFILE, "true");
|
||||||
|
|
||||||
|
initStdOut(conf);
|
||||||
|
|
||||||
Application<WritableComparable<IntWritable>, Writable, IntWritable, Text> application = new Application<WritableComparable<IntWritable>, Writable, IntWritable, Text>(
|
Application<WritableComparable<IntWritable>, Writable, IntWritable, Text> application = new Application<WritableComparable<IntWritable>, Writable, IntWritable, Text>(
|
||||||
conf, rReader, output, reporter, IntWritable.class, Text.class);
|
conf, rReader, output, reporter, IntWritable.class, Text.class);
|
||||||
application.getDownlink().flush();
|
application.getDownlink().flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user