You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2012/08/06 19:03:02 UTC
[jira] [Created] (HDFS-3766) TestStorageRestore fails on Windows
Brandon Li created HDFS-3766:
--------------------------------
Summary: TestStorageRestore fails on Windows
Key: HDFS-3766
URL: https://issues.apache.org/jira/browse/HDFS-3766
Project: Hadoop HDFS
Issue Type: Bug
Components: test
Affects Versions: 1-win
Reporter: Brandon Li
Assignee: Brandon Li
Test setup failed because it can't delete the directories/files being used by the test itself. Unlike Linux, Windows doesn't allow deleting a file or directory which is opened with no share/delete permission by a different process.
--
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
[jira] [Commented] (HDFS-3766) Release stream and storage directory
for removed streams, and fix TestStorageRestore on Windows
Posted by "Brandon Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433723#comment-13433723 ]
Brandon Li commented on HDFS-3766:
----------------------------------
Patch uploaded for branch-1-win
> 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
[jira] [Updated] (HDFS-3766) Fix TestStorageRestore on Windows
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HDFS-3766) Release stream and storage directory
for removed streams, and fix TestStorageRestore on Windows
Posted by "Brandon Li (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (HDFS-3766) Fix TestStorageRestore on Windows
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HDFS-3766) Release stream and storage directory
for removed streams, and fix TestStorageRestore on Windows
Posted by "Brandon Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Li updated HDFS-3766:
-----------------------------
Component/s: (was: test)
name-node
Description:
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.
was:Test setup failed because it can't delete the directories/files being used by the test itself. Unlike Linux, Windows doesn't allow deleting a file or directory which is opened with no share/delete permission by a different process.
Summary: Release stream and storage directory for removed streams, and fix TestStorageRestore on Windows (was: TestStorageRestore fails on Windows )
> 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
>
> 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