hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10256) Use GenericTestUtils.getTestDir method in tests for temporary directories
Date Tue, 24 May 2016 12:28:12 GMT

    [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message