Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82197DA2B for ; Tue, 4 Sep 2012 19:40:08 +0000 (UTC) Received: (qmail 13476 invoked by uid 500); 4 Sep 2012 19:40:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 13446 invoked by uid 500); 4 Sep 2012 19:40:08 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 13436 invoked by uid 99); 4 Sep 2012 19:40:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 19:40:07 +0000 Date: Wed, 5 Sep 2012 06:40:07 +1100 (NCT) From: "Daryn Sharp (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1249213989.34485.1346787607937.JavaMail.jiratomcat@arcas> In-Reply-To: <1243809713.32745.1346767507973.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-8761) Help for FsShell's Stat incorrectly mentions "file size in blocks" (should be bytes) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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