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

          Bryan Duxbury created issue -
          Todd Lipcon made changes -
          Field Original Value New Value
          Attachment hadoop-4861.txt [ 12407208 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Todd Lipcon made changes -
          Attachment hadoop-4861.txt [ 12407845 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Todd Lipcon [ tlipcon ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Todd Lipcon made changes -
          Attachment hadoop-4861.txt [ 12408730 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Todd Lipcon made changes -
          Attachment hadoop-4861.txt [ 12408735 ]
          Todd Lipcon made changes -
          Attachment hadoop-4861.txt [ 12408763 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.0 [ 12313563 ]
          Resolution Fixed [ 1 ]
          Todd Lipcon made changes -
          Hadoop Flags [Reviewed] [Incompatible change, Reviewed]
          Release Note The output format of hadoop fs -dus is now consistent with the format of hadoop fs -du and with Linux du. The size has moved from the right column to the left column. Users who previously parsed this output should update their scripts.

          New feature: hadoop fs -du -h may now be used for human readable output.
          Robert Chansler made changes -
          Release Note The output format of hadoop fs -dus is now consistent with the format of hadoop fs -du and with Linux du. The size has moved from the right column to the left column. Users who previously parsed this output should update their scripts.

          New feature: hadoop fs -du -h may now be used for human readable output.
          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.
          Todd Lipcon made changes -
          Link This issue is related to HADOOP-6375 [ HADOOP-6375 ]
          Ravi Phulari made changes -
          Attachment Test plan for hadoop fs -du -h.html [ 12425414 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development