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-2132) Potential resource leak in EditLogFileOutputStream.close
Date Tue, 12 Jul 2011 02:34:59 GMT

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

Hudson commented on HDFS-2132:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #781 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/781/])
    HDFS-2132. Potential resource leak in EditLogFileOutputStream.close. (atm)

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1145428
Files : 
* /hadoop/common/trunk/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/EditLogFileOutputStream.java
* /hadoop/common/trunk/hdfs/CHANGES.txt
* /hadoop/common/trunk/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestEditLogFileOutputStream.java


> Potential resource leak in EditLogFileOutputStream.close
> --------------------------------------------------------
>
>                 Key: HDFS-2132
>                 URL: https://issues.apache.org/jira/browse/HDFS-2132
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 0.23.0
>
>         Attachments: hdfs-2132.0.patch, hdfs-2132.1.patch, hdfs-2132.2.patch, hdfs-2132.3.patch
>
>
> {{EditLogFileOutputStream.close(...)}} sequentially closes a series of underlying resources.
If any of the calls to {{close()}} throw before the last one, the later resources will never
be closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message