hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4275) MiniDFSCluster-based tests fail on Windows due to failure to delete test name node directory
Date Fri, 07 Dec 2012 21:05:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Nauroth updated HDFS-4275:
--------------------------------

    Attachment: HDFS-4275.1.patch

I am attaching a patch to resolve the remaining issues after resolution of HDFS-4261.

The only remaining issue is that {{TestBlockRecovery#testRaceBetweenReplicaRecoveryAndFinalizeBlock}}
calls {{tearDown}} twice: once explicitly at the start of the test and once implicitly by
JUnit after the test finishes.  On Windows, the double tear-down is problematic.  The second
delete fails, causing the test to fail.  I've added a flag to track whether or not {{tearDown}}
has already executed for a test and prevent double execution.
                
> MiniDFSCluster-based tests fail on Windows due to failure to delete test name node directory
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4275
>                 URL: https://issues.apache.org/jira/browse/HDFS-4275
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-4275.1.patch
>
>
> Multiple HDFS test suites fail on Windows during initialization of {{MiniDFSCluster}}
due to "Could not fully delete" the name testing data directory.

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

Mime
View raw message