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

Colin Patrick McCabe commented on HDFS-4695:
--------------------------------------------

looks good to me.

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

Reply via email to