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] [Updated] (HDFS-3766) Fix TestStorageRestore on Windows
Date Tue, 14 Aug 2012 04:59:38 GMT

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

Suresh Srinivas updated HDFS-3766:
----------------------------------

    Summary: Fix TestStorageRestore on Windows  (was: Release stream and storage directory
for removed streams, and fix TestStorageRestore on Windows)
    
> 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
>         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