HADOOP-6593. TextRecordInputStream doesn't close SequenceFile.Reader. Contributed by Chase Bradford.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@925487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c8ffb2249a
commit
f32ffc750a
|
@ -284,6 +284,9 @@ Trunk (unreleased changes)
|
|||
HADOOP-6546. BloomMapFile can return false negatives. (Clark Jefcoat
|
||||
via tomwhite)
|
||||
|
||||
HADOOP-6593. TextRecordInputStream doesn't close SequenceFile.Reader.
|
||||
(Chase Bradford via tomwhite)
|
||||
|
||||
Release 0.21.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -393,6 +393,11 @@ public class FsShell extends Configured implements Tool {
|
|||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
public void close() throws IOException {
|
||||
r.close();
|
||||
super.close();
|
||||
}
|
||||
}
|
||||
|
||||
private InputStream forMagic(Path p, FileSystem srcFs) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue