You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2016/06/02 17:53:59 UTC
[jira] [Moved] (HADOOP-13233) help of stat is confusing
[ https://issues.apache.org/jira/browse/HADOOP-13233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira AJISAKA moved HDFS-10479 to HADOOP-13233:
-----------------------------------------------
Affects Version/s: (was: 2.7.2)
2.7.2
Component/s: (was: hdfs)
Key: HADOOP-13233 (was: HDFS-10479)
Project: Hadoop Common (was: Hadoop HDFS)
> 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
> Priority: Trivial
> Labels: newbie
>
> %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.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org