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

Vinayakumar B commented on HDFS-10256:
--------------------------------------

Pushed below changes to the latest PR along with rebase against latest trunk 
code.

1. {{MiniDfsCluster#shutdown()}}, deletes entire basedir using 
{{FileUtil.fullyDelete()}} in case of {{deleteDfsDir}} is true. Else, registers 
all files recursively for deleteOnExit in reverse order.

2. {{MiniDfsCluster#getBaseDirectory()}} will now return an unique directory 
named with junit test method name.


> Use GenericTestUtils.getTestDir method in tests for temporary directories
> -------------------------------------------------------------------------
>
>                 Key: HDFS-10256
>                 URL: https://issues.apache.org/jira/browse/HDFS-10256
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: build, test
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to