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

Add "-h" option for FSshell -ls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • None
    • fs
    • None
    • Reviewed

    Description

      Add "-h" for FSshell -ls to format the sizes of files in a human-readable format.
      For instance:
      $hdfs dfs -ls -h /user/hadoop/mylog
      rw-rr- 1 root supergroup 1.7k 2011-07-26 20:54 /user/hadoop/mylog

      Attachments

        1. HADOOP-7485.patch
          3 kB
          XieXianshan
        2. HADOOP-7485-v0.2.patch
          5 kB
          XieXianshan

        Issue Links

          Activity

            People

              xiexianshan XieXianshan
              xiexianshan XieXianshan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: