hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4695) TestEditLog leaks open file handles between tests
Date Tue, 16 Apr 2013 01:52:16 GMT

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

Ivan Mitic commented on HDFS-4695:
----------------------------------

bq. There are actually two IOUtils classes in common use-- org.apache.commons.io.IOUtils and
org.apache.hadoop.io.IOUtils. The former has closeQuietly, and the latter has cleanup. Either
function works here, and if you're already using the org.apache.hadoop.io class, it's probably
easiest to stick with that, just as you did here.
Thanks Colin. I also noticed {{org.apache.commons.io.IOUtils}} however I did not find {{closeQuietly}}
that accepts a list of closables. The current patch should be good then, thanks!
                
> TestEditLog leaks open file handles between tests
> -------------------------------------------------
>
>                 Key: HDFS-4695
>                 URL: https://issues.apache.org/jira/browse/HDFS-4695
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HDFS-4695.2.patch, HDFS-4695.patch
>
>
> The test leaks open file handles causing subsequent test cases to fail on Windows (common
cross-platform issue we've seen multiple times so far).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message