You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2015/01/29 01:10:34 UTC
[jira] [Updated] (HDFS-7696) FsDatasetImpl.getTmpInputStreams(..)
may leak file descriptors
[ https://issues.apache.org/jira/browse/HDFS-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Homan updated HDFS-7696:
------------------------------
Summary: FsDatasetImpl.getTmpInputStreams(..) may leak file descriptors (was: FsDatasetImpl.getTmpInputStreams(..) may lead file descriptors)
> FsDatasetImpl.getTmpInputStreams(..) may leak file descriptors
> --------------------------------------------------------------
>
> Key: HDFS-7696
> URL: https://issues.apache.org/jira/browse/HDFS-7696
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
>
> getTmpInputStreams(..) opens a block file and a meta file, and then return them as ReplicaInputStreams. The caller responses to closes those streams. In case of errors, an exception is thrown without closing the files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)