Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10019 make symlinks production-ready
  3. HADOOP-10014

Symlink resolution is fundamentally broken for multi-layered filesystems

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      Symlink resolution is performed on a per-filesystem basis. In a multi-layered filesystem, the symlinks need to be resolved relative to the highest level filesystem in the stack. Otherwise, fs implementations like viewfs and chroot fs behave incorrectly. Absolute symlinks may violate the base of the chroot. Links that should have crossed viewfs mount points are again incorrectly resolved relative to the base filesystem.

      Symlink resolution has occur above the level of any individual fs to allow a multi-layered fs stack to work correctly, such as via a symlink-aware FilteredFileSystem that wraps any arbitrary fs to ensure links are resolved from the top-down of the stack.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daryn Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: