hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13233) help of stat is confusing
Date Mon, 13 Feb 2017 18:51:42 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864202#comment-15864202
] 

Hudson commented on HADOOP-13233:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11239 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11239/])
HADOOP-13233. help of stat is confusing. Contributed by Attila Bukor. (weichiu: rev cc45da79fda7dfba2795ac397d62f40a858dcdd9)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Stat.java
* (edit) hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
* (edit) hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md


> help of stat is confusing
> -------------------------
>
>                 Key: HADOOP-13233
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13233
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation, fs
>    Affects Versions: 2.7.2
>            Reporter: Xiaohe Lan
>            Assignee: Attila Bukor
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HADOOP-13233.001.patch, HADOOP-13233.002.patch
>
>
> %b is actually printing the size of a file in bytes, while in help it says filesize in
blocks.
> {code}
> hdfs dfs -help stat
> -stat [format] <path> ... :
>   Print statistics about the file/directory at <path>
>   in the specified format. Format accepts filesize in
>   blocks (%b)
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message