hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3766) Release stream and storage directory for removed streams, and fix TestStorageRestore on Windows
Date Mon, 13 Aug 2012 23:23:37 GMT

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

Brandon Li updated HDFS-3766:
-----------------------------

    Attachment: HDFS-3766.patch
    
> Release stream and storage directory for removed streams, and 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