hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8761) Help for FsShell's Stat incorrectly mentions "file size in blocks" (should be bytes)
Date Tue, 04 Sep 2012 19:40:07 GMT

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

Daryn Sharp commented on HADOOP-8761:

True, it's incompatible yet correct behavior.  I guess our options are codify the bad behavior
forever, or fix it now.  I lean toward the latter since there's enough churn in 2.x that this
will be a minor inconvenience for people to adjust.  What do the other watchers/lurkers think?
> 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
>    Affects Versions: 2.0.0-alpha
>            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

View raw message