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

hadoop du optionally behave like unix's du -s

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9.1
    • 0.10.0
    • None
    • 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.patch
          2 kB
          Hairong Kuang
        2. dus_new.patch
          3 kB
          Hairong Kuang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: