[ 
https://issues.apache.org/jira/browse/HADOOP-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HADOOP-6375:
--------------------------------

    Attachment: hadoop-6375.txt

Patch improves docs. New hadoop fs -help du reads:
{noformat}
-du [-s] [-h] <path>:   Show the amount of space, in bytes, used by the files 
that 
                match the specified file pattern. The following flags are 
optional:
                  -s   Rather than showing the size of each individual file that
                       matches the pattern, shows the total (summary) size.
                  -h   Formats the sizes of files in a human-readable fashion
                       rather than a number of bytes.

                Note that, even without the -s option, this only shows size 
summaries
                one level deep into a directory.
                The output is in the form 
                        size    name(full path)
{noformat}

Also edited the HTML docs. I did not edit the Chinese 
src/docs/cn/src/documentation/content/xdocs/hdfs_shell.xml - not sure how 
non-speakers are supposed to keep those up-to-date.

> Update documentation for FsShell du command
> -------------------------------------------
>
>                 Key: HADOOP-6375
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6375
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: hadoop-6375.txt
>
>
> HADOOP-4861 added new syntax for the FsShell du command, but neglected to 
> update documentation. This JIRA is to add documentation for it to both 
> branch-21 and trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to