Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5294

DistributedFileSystem#getFileLinkStatus should not fully qualify the link target

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-alpha, 3.0.0-alpha1
    • None
    • hdfs-client
    • 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:

      1. Prevents clients from discerning if the target is relative or absolute
      2. Mangles a target that is not intended to be a path
      3. 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

          Activity

            People

              Unassigned Unassigned
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: