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

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

Thanks for reporting and fixing this [~rwisniewski].

Couple of suggestions:
# You can use 
[FileUtils#deleteQuietly|https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/FileUtils.html#deleteQuietly(java.io.File)]
 which is guaranteed never to throw.
# Could you please update the patch to follow the coding style? Specifically we 
use spaces around operators, braces for single line if blocks, and two spaces 
for indentation.

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