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

Arpit Agarwal commented on HDFS-8243:
-------------------------------------

Thank you for the updated patch.

Something like this will work for the conversion, so you don't need the 
try-catch blocks any more.

{code}
      FileUtils.deleteQuietly(new File(dir.toUri().getPath()));
{code}

If you fix that could you also address a couple of remaining tabs in 
TestNameNodeMXBean.java?

> Files written by TestHostsFiles and TestNameNodeMXBean are causing Release 
> Audit Warnings.
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8243
>                 URL: https://issues.apache.org/jira/browse/HDFS-8243
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Ruth Wisniewski
>            Assignee: Ruth Wisniewski
>            Priority: Minor
>              Labels: BB2015-05-TBR, test
>         Attachments: HDFS-8243.001.patch, HDFS-8243.002.patch
>
>
> TestHostsFiles and TestNameNodeMXBean write files and directories to 
> hadoop_hdfs_project/hadoop_hdfs/build/test/data/temp. These files aren't 
> cleaned up after the tests complete, causing Release Audit Warnings. The 
> patch modifies these tests to delete the temp files.



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

Reply via email to