Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8934

Shell command ls should include sort options

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Release Note:
      Options to sort output of fs -ls comment: -t (mtime), -S (size), -u (atime), -r (reverse)

      Description

      The shell command ls should include options to sort the output similar to the unix ls command. The following options seem appropriate:
      -t : sort by modification time
      -S : sort by file size
      -r : reverse the sort order
      -u : use access time rather than modification time for sort and display

        Attachments

        1. HADOOP-8934.patch
          71 kB
          Jonathan Allen
        2. HADOOP-8934.patch
          70 kB
          Jonathan Allen
        3. HADOOP-8934.patch
          69 kB
          Jonathan Allen
        4. HADOOP-8934.patch
          72 kB
          Jonathan Allen
        5. HADOOP-8934.patch
          74 kB
          Jonathan Allen
        6. HADOOP-8934.patch
          65 kB
          Jonathan Allen
        7. HADOOP-8934.patch
          68 kB
          Jonathan Allen
        8. HADOOP-8934.patch
          65 kB
          Jonathan Allen

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              jonallen Jonathan Allen Assign to me
              Reporter:
              jonallen Jonathan Allen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment