hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5294) DistributedFileSystem getLinkStatus should not fully qualifies the link target
Date Thu, 03 Oct 2013 16:34:43 GMT
Daryn Sharp created HDFS-5294:
---------------------------------

             Summary: DistributedFileSystem getLinkStatus should not fully qualifies the link
target
                 Key: HDFS-5294
                 URL: https://issues.apache.org/jira/browse/HDFS-5294
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs-client
    Affects Versions: 2.0.0-alpha, 3.0.0
            Reporter: Daryn Sharp


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)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message