MAPREDUCE-5843. Fixed TestMRKeyValueTextInputFormat to not leak files and thus avoid failing on Windows. Contributed by Varun Vasudev.
svn merge --ignore-ancestry -c 1589533 ../../trunk/ git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1589534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69a90ff22f
commit
b04bb049d2
|
@ -88,6 +88,9 @@ Release 2.4.1 - UNRELEASED
|
||||||
MAPREDUCE-5841. uber job doesn't terminate on getting mapred job kill
|
MAPREDUCE-5841. uber job doesn't terminate on getting mapred job kill
|
||||||
(Sangjin Lee via jlowe)
|
(Sangjin Lee via jlowe)
|
||||||
|
|
||||||
|
MAPREDUCE-5843. Fixed TestMRKeyValueTextInputFormat to not leak files and
|
||||||
|
thus avoid failing on Windows. (Varun Vasudev via vinodkv)
|
||||||
|
|
||||||
Release 2.4.0 - 2014-04-07
|
Release 2.4.0 - 2014-04-07
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -321,6 +321,7 @@ public class TestMRKeyValueTextInputFormat {
|
||||||
while (reader.nextKeyValue()) {
|
while (reader.nextKeyValue()) {
|
||||||
result.add(new Text(reader.getCurrentValue()));
|
result.add(new Text(reader.getCurrentValue()));
|
||||||
}
|
}
|
||||||
|
reader.close();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue