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

Shell command ls should include sort options

    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
          65 kB
          Jonathan Allen
        2. HADOOP-8934.patch
          68 kB
          Jonathan Allen
        3. HADOOP-8934.patch
          65 kB
          Jonathan Allen
        4. HADOOP-8934.patch
          74 kB
          Jonathan Allen
        5. HADOOP-8934.patch
          72 kB
          Jonathan Allen
        6. HADOOP-8934.patch
          69 kB
          Jonathan Allen
        7. HADOOP-8934.patch
          70 kB
          Jonathan Allen
        8. HADOOP-8934.patch
          71 kB
          Jonathan Allen

          Issue Links

            Activity

              People

              • Assignee:
                jonallen Jonathan Allen
                Reporter:
                jonallen Jonathan Allen
              • Votes:
                1 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: