[
https://issues.apache.org/jira/browse/HADOOP-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968067#comment-13968067
]
Hudson commented on HADOOP-10496:
---------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #5514 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/5514/])
HADOOP-10496. Metrics system FileSink can leak file descriptor. Contributed by
Chris Nauroth. (cnauroth:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1587141)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsSink.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSinkAdapter.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/sink/FileSink.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/metrics2/sink/TestFileSink.java
> 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
> Fix For: 3.0.0, 2.5.0
>
> 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)