Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
Snapshot (HDFS-2802)
-
None
Description
The method attempts to iterate over the child list of the directory, but that list may be null and this isn't handled currently.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-4159 Rename should fail when the destination dir is snapshottable and has snapshots
- Resolved
Here's a trivial patch which fixes the issue. No tests are included since this functionality (deleting an empty directory) is currently covered by several other tests.