Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
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
Attachments
Issue Links
- breaks
-
HADOOP-11581 Fix Multithreaded correctness Warnings #org.apache.hadoop.fs.shell.Ls
- Resolved
- duplicates
-
HADOOP-9636 UNIX like sort options for ls shell command
- Resolved
- is duplicated by
-
HADOOP-9066 Sorting for FileStatus[]
- Resolved
- is related to
-
HADOOP-10971 Add -C flag to make `hadoop fs -ls` print filenames only
- Resolved