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

Chris Nauroth updated HADOOP-10490:
-----------------------------------

    Attachment: HADOOP-10490.2.patch

Thanks, Haohui.  The redundant setting to null was intended to prevent 
double-close in the finally block, but it appears these objects are tolerant of 
double-close.  Here is patch v2 removing the redundant setting to null.  This 
version still passes on both Mac and Windows.  I'll commit this version after a 
Jenkins run.

> TestMapFile and TestBloomMapFile leak file descriptors.
> -------------------------------------------------------
>
>                 Key: HADOOP-10490
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10490
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: HADOOP-10490.1.patch, HADOOP-10490.2.patch
>
>
> Multiple tests in {{TestMapFile}} and {{TestBloomMapFile}} open files but 
> don't close them.  On Windows, the leaked file descriptors cause subsequent 
> tests to fail, because file locks are still held while trying to delete the 
> test data directory.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to