[
https://issues.apache.org/jira/browse/HADOOP-13233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862527#comment-15862527
]
Attila Bukor commented on HADOOP-13233:
---------------------------------------
TestKDiag succeeded on my machine, I suspect it's a random failure. checkstyle
could be fixed, but it would either look weird (indented differently than the
other lines in Stat.DESCRIPTION) or I would have to reindent a few more lines.
> help of stat is confusing
> -------------------------
>
> Key: HADOOP-13233
> URL: https://issues.apache.org/jira/browse/HADOOP-13233
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.7.2
> Reporter: Xiaohe Lan
> Assignee: Attila Bukor
> Priority: Trivial
> Labels: newbie
> Attachments: HADOOP-13233.001.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: [email protected]
For additional commands, e-mail: [email protected]