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-11056) OsSecureRandom.setConf() might leak file descriptors.
Date Thu, 04 Sep 2014 11:22:53 GMT

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

Hudson commented on HADOOP-11056:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #670 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/670/])
HADOOP-11056. OsSecureRandom.setConf() might leak file descriptors.  Contributed by Yongjun
Zhang. (cmccabe: rev 8f1a668575d35bee11f4cd8173335be5352ec620)
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/random/TestOsSecureRandom.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/random/OsSecureRandom.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> OsSecureRandom.setConf() might leak file descriptors.
> -----------------------------------------------------
>
>                 Key: HADOOP-11056
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11056
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.5.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>             Fix For: 2.6.0
>
>         Attachments: HADOOP-11056.001.patch, HADOOP-11056.002.patch
>
>
> OsSecureRandom.setConf() might leak resource, the stream is not closed when:
> 1. if setConf() is called a second time
> 2. if {{fillReservoir(0);}} throw exception.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message