Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0
-
None
-
None
-
all
-
Incompatible change
-
Description
Currently, the namenode.delete() method allows recursive deletion of a directory. That is, even a non-empty directory could be deleted using namenode.delete(). To avoid costly programmer errors, the namenode should not remove the non-empty directories in this method. Recursively deleting directory should either be performed with listPaths() followed by a delete() for every path, or with a specific namenode method such as deleteRecursive().
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-3025 ChecksumFileSystem needs to support the new delete method
- Closed