MAPREDUCE-5843. Fixed TestMRKeyValueTextInputFormat to not leak files and thus avoid failing on Windows. Contributed by Varun Vasudev.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1589533 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
74b4719698
commit
e33ba5d944
@ -224,6 +224,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 @@ private static List<Text> readSplit(KeyValueTextInputFormat format,
|
|||||||
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
Block a user