[
https://issues.apache.org/jira/browse/HADOOP-8761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447810#comment-13447810
]
Daryn Sharp commented on HADOOP-8761:
-------------------------------------
I think the correct behavior should be to match the usage. The unix stat uses
%b for blocks, and %s for size in bytes.
> Help for FsShell's Stat incorrectly mentions "file size in blocks" (should be
> bytes)
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-8761
> URL: https://issues.apache.org/jira/browse/HADOOP-8761
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Reporter: Philip Zeyliger
> Assignee: Philip Zeyliger
> Priority: Minor
> Attachments: HADOOP-8761.patch.txt
>
>
> Trivial patch attached corrects the usage information. Stat.java calls
> FileStatus.getLen(), which is most definitely the file size in bytes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira