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.
Attachments
Attachments
Issue Links
- is part of
-
HADOOP-8645 Stabilize branch-1-win
- Resolved
- relates to
-
HDFS-3763 TestNameNodeMXBean fails on Windows
- Resolved