[
https://issues.apache.org/jira/browse/HADOOP-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967962#comment-13967962
]
Jing Zhao commented on HADOOP-10496:
------------------------------------
+1 the patch looks good to me.
> Metrics system FileSink can leak file descriptor.
> -------------------------------------------------
>
> Key: HADOOP-10496
> URL: https://issues.apache.org/jira/browse/HADOOP-10496
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 3.0.0, 2.4.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: HADOOP-10496.1.patch
>
>
> {{FileSink}} opens a file. If the {{MetricsSystem}} is shutdown, then the
> sink is discarded and the file is never closed, causing a file descriptor
> leak.
--
This message was sent by Atlassian JIRA
(v6.2#6252)