[ 
https://issues.apache.org/jira/browse/HDFS-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-2132:
---------------------------------

    Attachment: hdfs-2132.0.patch

Patch which makes sure that {{EditLogFileOutputStream.close(...)}} cleans up 
after itself.

> 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
>         Attachments: hdfs-2132.0.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

        

Reply via email to