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 0D44DEDD3 for ; Fri, 1 Mar 2013 13:03:17 +0000 (UTC) Received: (qmail 16906 invoked by uid 500); 1 Mar 2013 13:03:15 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 16613 invoked by uid 500); 1 Mar 2013 13:03:14 -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 16574 invoked by uid 99); 1 Mar 2013 13:03:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 13:03:13 +0000 Date: Fri, 1 Mar 2013 13:03:13 +0000 (UTC) From: "Robert Justice (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-8834) Hadoop examples when run without an argument, gives ERROR instead of just usage info 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-8834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590492#comment-13590492 ] Robert Justice commented on HADOOP-8834: ---------------------------------------- @Abhishek, I get a abhishekkapoor cannot be assigned issues. I'll ping some folks to see why that is. Thanks for submitting the patch! > Hadoop examples when run without an argument, gives ERROR instead of just usage info > ------------------------------------------------------------------------------------ > > Key: HADOOP-8834 > URL: https://issues.apache.org/jira/browse/HADOOP-8834 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.23.0, trunk-win > Reporter: Robert Justice > Priority: Minor > Attachments: HADOOP-8834.patch > > > Hadoop sort example should not give an ERROR and only should display usage when run with no parameters. > {code} > $ hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar sort > ERROR: Wrong number of parameters: 0 instead of 2. > sort [-m ] [-r ] [-inFormat ] [-outFormat ] [-outKey ] [-outValue ] [-totalOrder ] > Generic options supported are > -conf specify an application configuration file > -D use value for given property > -fs specify a namenode > -jt specify a job tracker > -files specify comma separated files to be copied to the map reduce cluster > -libjars specify comma separated jar files to include in the classpath. > -archives specify comma separated archives to be unarchived on the compute machines. > The general command line syntax is > bin/hadoop command [genericOptions] [commandOptions] > {code} -- 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