Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0-alpha, 3.0.0-alpha1
-
None
-
None
Description
The NN returns a FileStatus containing the exact link target as specified by the user at creation. However, DistributedFileSystem#getFileLinkStatus explicit overwrites the target with the fully scheme qualified path lookup. This causes multiple issues such as:
- Prevents clients from discerning if the target is relative or absolute
- Mangles a target that is not intended to be a path
- Causes incorrect resolution with multi-layered filesystems - ie. the link should be resolved relative to a higher level fs (ie. viewfs, chroot, filtered, etc)
Attachments
Issue Links
- is related to
-
HADOOP-9780 Filesystem and FileContext methods that follow symlinks should return unresolved paths
- Open
- relates to
-
HADOOP-10019 make symlinks production-ready
- Open