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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Incompatible change, Reviewed
    • 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
          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

            People

              tlipcon Todd Lipcon
              bryanduxbury Bryan Duxbury
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: