hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-3766) Fix TestStorageRestore on Windows
Date Tue, 14 Aug 2012 05:03:38 GMT

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

Suresh Srinivas resolved HDFS-3766.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1-win
     Hadoop Flags: Reviewed

I committed the patch. Thank you Brandon.
                
> Fix TestStorageRestore on Windows
> ---------------------------------
>
>                 Key: HDFS-3766
>                 URL: https://issues.apache.org/jira/browse/HDFS-3766
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 1-win
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>             Fix For: 1-win
>
>         Attachments: HDFS-3766.patch
>
>
> When a storage directory is removed, namenode doesn't close the stream and storage directory
is remained locked. This could fail later on the restoring storage directory function because
namenode will not be able to format original directory. Unlike Linux, Windows doesn't allow
deleting a file or directory which is opened with no share/delete permission by a different
process.
> Similar problem also caused TestStorageRestore to fail because it can't delete the directories/files
being used by the test itself. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message