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

FSShell should support creating symlinks

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      FSShell should support creating symlinks. This would allow users to create symlinks from the shell without having to write a Java program.

      One thing that makes this complicated is that FSShell currently uses FileSystem internally, and symlinks are currently only supported by the FileContext API. So either FSShell would have to be ported to FileContext, or symlinks would have to be added to FileSystem. Or perhaps we could open a FileContext only when symlinks were necessary, but that seems messy.

        Attachments

        1. HDFS-4019.001.patch
          15 kB
          Colin McCabe
        2. HDFS-4019.002.patch
          50 kB
          Colin McCabe
        3. HDFS-4019.003.patch
          10 kB
          Colin McCabe

          Issue Links

            Activity

              People

              • Assignee:
                cmccabe Colin McCabe
                Reporter:
                cmccabe Colin McCabe
              • Votes:
                1 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated: