hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10479) help of stat is confusing
Date Thu, 02 Jun 2016 17:52:59 GMT

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

Akira AJISAKA updated HDFS-10479:
---------------------------------
    Labels: newbie  (was: )

> help of stat is confusing
> -------------------------
>
>                 Key: HDFS-10479
>                 URL: https://issues.apache.org/jira/browse/HDFS-10479
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message