Description
Here's the HDFS side of HADOOP-6563:
- Small bug fix for renaming a symlink to it's target
- Hdfs#getFileBlockLocations needs to use getUriPath() to ensure an absolute path is passed in. See minor change to INode#getPathNames, which now asserts instead of returning null and causing NPEs. This was exposed via calling FileContext#getFileBlockLocations using a symlink.
- Comment in FSImage around symlinks and image loading
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-6563 Add more tests to FileContextSymlinkBaseTest that cover intermediate symlinks in paths
- Closed
- is depended upon by
-
HADOOP-6703 Prevent renaming a file, symlink or directory to itself
- Closed
- is part of
-
HDFS-254 Add more unit test for HDFS symlinks
- Resolved