You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/01/08 19:38:13 UTC

[jira] [Commented] (HADOOP-9185) TestFileCreation.testFsClose should clean up on exit.

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

Suresh Srinivas commented on HADOOP-9185:
-----------------------------------------

This change has been made in branch-1 in HDFS-4161. So this change is only relevant to branch-1-win. I will update the Affected Version(s) field to reflect that.
                
> TestFileCreation.testFsClose should clean up on exit.
> -----------------------------------------------------
>
>                 Key: HADOOP-9185
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9185
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.2.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HADOOP-9185.patch
>
>
> TestFileCreation.testFsClose fails to shutdown the MiniDFSCluster on successful exit. Subsequent tests can fail with the following exception:
> java.io.IOException: Cannot remove data directory: d:\w\hc7\build\test\data\dfs\data
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:266)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:125)
> 	at org.apache.hadoop.hdfs.TestFileCreation.testDeleteOnExit(TestFileCreation.java:261)
> This was seen with JDK7 since testcase execution order is randomized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira