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

hadoop du optionally behave like unix's du -s

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      In Unix, the user has the option to specify a -s flag:
      -s Display an entry for each specified file. (Equivalent to -d 0)

      Instead of providing data for the subdirectories of the arguments, du prints the total usage of each argument, without printing subdirectories.

      This is very convenient for those looking to find how much space is used by a particular branch, without requring them to add up all the sub-usages.

        Attachments

        1. dus_new.patch
          3 kB
          Hairong Kuang
        2. dus.patch
          2 kB
          Hairong Kuang

          Activity

            People

            • Assignee:
              hairong Hairong Kuang
              Reporter:
              menicosia Marco Nicosia
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: