hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7696) FsDatasetImpl.getTmpInputStreams(..) may leak file descriptors
Date Tue, 03 Feb 2015 11:55:44 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303142#comment-14303142
] 

Hudson commented on HDFS-7696:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #827 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/827/])
HDFS-7696. In FsDatasetImpl, the getBlockInputStream(..) and getTmpInputStreams(..) methods
may leak file descriptors. (szetszwo: rev d085eb15d7ca7b43a69bd70bad4e2ea601ba2ae0)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java


> 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
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: h7696_20150128.patch
>
>
> 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)

Mime
View raw message