Hadoop Common
  1. Hadoop Common
  2. HADOOP-454

hadoop du optionally behave like unix's du -s

    Details

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

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

        Activity

        Marco Nicosia created issue -
        Hairong Kuang made changes -
        Field Original Value New Value
        Assignee Hairong Kuang [ hairong ]
        Hairong Kuang made changes -
        Attachment dus.patch [ 12347055 ]
        Hairong Kuang made changes -
        Fix Version/s 0.10.0 [ 12312207 ]
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.9.1 [ 12312214 ]
        Affects Version/s 0.5.0 [ 12311939 ]
        Hairong Kuang made changes -
        Attachment dus_new.patch [ 12347118 ]
        Doug Cutting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s dfs [ 12310710 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development