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

FsShell ls: Show symlinks properties

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • tools
    • None

    Description

      ls FsShell command implementation has been consistent with the linux implementations of ls -l. With the addition of symlinks, I would expect the ability to show file type 'd' for directory, '-' for file, and 'l' for symlink. In addition, following the linkname entry for symlinks, I would expect the ability to show "-> <link target>". In linux, the default is to the the properties of the link and not of the link target. In linux, '-L' option allows for the dereferencing of symlinks to show link target properties, but it is not the default.

      Attachments

        1. HDFS-1788.patch
          36 kB
          Bochun Bai

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            johnvijoe John George
            jeagles Jonathan Turner Eagles

            Dates

              Created:
              Updated:

              Slack

                Issue deployment