hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10496) Metrics system FileSink can leak file descriptor.
Date Mon, 14 Apr 2014 13:46:16 GMT

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

Hudson commented on HADOOP-10496:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1732 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1732/])
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)

Mime
View raw message