Hadoop Common
  1. Hadoop Common
  2. HADOOP-4861

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial 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".

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development