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

Add disk usage with human-readable size (-duh)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Output of hadoop fs -dus changed to be consistent with hadoop fs -du and with Linux du. Users who previously parsed this output should update their scripts. New feature hadoop fs -du -h may be used for human readable output.

      Description

      I think it'd be super useful to have a form of "hadoop dfs -du" that showed the sizes in human-readable format, as in the standard command "du -h".

        Attachments

        1. hadoop-4861.txt
          7 kB
          Todd Lipcon
        2. hadoop-4861.txt
          11 kB
          Todd Lipcon
        3. hadoop-4861.txt
          16 kB
          Todd Lipcon
        4. hadoop-4861.txt
          18 kB
          Todd Lipcon
        5. hadoop-4861.txt
          20 kB
          Todd Lipcon
        6. Test plan for hadoop fs -du -h.html
          8 kB
          Ravi Phulari

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                bryanduxbury Bryan Duxbury
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: