[
https://issues.apache.org/jira/browse/HDFS-8243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14538811#comment-14538811
]
Ruth Wisniewski commented on HDFS-8243:
---------------------------------------
Thank you for your feedback, Arpit Agarwal!
I've attached a new patch with the style changes you described.
WRT the deleteQuietly comment: this sounds like a good idea, however
deleteQuietly takes a parameter of type File. The directories and files needing
deletion are of type Path. The conversion from Path to File didn't seem
trivial, so it seemed best to leave it as is. Please let me know if you
disagree. Thanks.
> 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)