hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10490) TestMapFile and TestBloomMapFile leak file descriptors.
Date Thu, 10 Apr 2014 23:51:15 GMT

     [ 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.1.patch

This patch ensures that files opened by the tests get closed.  Most of the patch is indentation
changes caused by introducing try-finally.  I successfully ran the tests on both Mac and Windows.

> 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
>
>
> 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)

Mime
View raw message