-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.0-alpha, 3.0.0-alpha1
-
Fix Version/s: None
-
Component/s: hdfs-client
-
Labels:None
-
Target Version/s:
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)
- 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
-