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

FSShell should support creating symlinks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.0.3-alpha
    • None
    • tools

    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

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              1 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: