Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 27816 invoked from network); 16 Oct 2009 08:48:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 08:48:54 -0000 Received: (qmail 41347 invoked by uid 500); 16 Oct 2009 08:48:54 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 41286 invoked by uid 500); 16 Oct 2009 08:48:53 -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 41276 invoked by uid 99); 16 Oct 2009 08:48:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 08:48:53 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 08:48:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4BF24234C045 for ; Fri, 16 Oct 2009 01:48:31 -0700 (PDT) Message-ID: <696533601.1255682911296.JavaMail.jira@brutus> Date: Fri, 16 Oct 2009 01:48:31 -0700 (PDT) From: "Ravi Phulari (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6314) "bin/hadoop fs -help count" fails to show help about only "count" command. In-Reply-To: <1454870916.1255592911368.JavaMail.jira@brutus> 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-6314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766473#action_12766473 ] Ravi Phulari commented on HADOOP-6314: -------------------------------------- Nicholas, Thanks for suggestion, I have attached updated patch. Gary, Thanks for pointing it out , I have created HADOOP-6316 for adding missing unit tests . > "bin/hadoop fs -help count" fails to show help about only "count" command. > ---------------------------------------------------------------------------- > > Key: HADOOP-6314 > URL: https://issues.apache.org/jira/browse/HADOOP-6314 > Project: Hadoop Common > Issue Type: Bug > Reporter: Ravi Phulari > Attachments: CountHelp.patch, CountHelp.patch > > > Currently "hadoop fs -help count" fails to show help about only count command. > Instead it displays following output > {noformat} > [rphulari@statepick-lm]> bin/hadoop fs -help count > hadoop fs is the command to execute fs commands. The full syntax is: > hadoop fs [-fs ] [-conf ] > [-D ] [-ls ] [-lsr ] [-df []] [-du ] > [-dus ] [-mv ] [-cp ] [-rm [-skipTrash] ] > [-rmr [-skipTrash] ] [-put ... ] [-copyFromLocal ... ] > [-moveFromLocal ... ] [-get [-ignoreCrc] [-crc] > [-getmerge [addnl]] [-cat ] > [-copyToLocal [-ignoreCrc] [-crc] ] [-moveToLocal ] > [-mkdir ] [-report] [-setrep [-R] [-w] ] > [-touchz ] [-test -[ezd] ] [-stat [format] ] > [-tail [-f] ] [-text ] > .. > .. > .. > {noformat} > Expected output of "bin/hadoop fs -help count " should be > {noformat} > [rphulari@statepick-lm]> bin/hadoop fs -help count > -count[-q] : Count the number of directories, files and bytes under the paths > that match the specified file pattern. The output columns are: > DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME or > QUOTA REMAINING_QUATA SPACE_QUOTA REMAINING_SPACE_QUOTA > DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.