Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 72296 invoked from network); 30 May 2008 05:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 May 2008 05:13:13 -0000 Received: (qmail 37415 invoked by uid 500); 30 May 2008 05:13:13 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 37390 invoked by uid 500); 30 May 2008 05:13:13 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 37379 invoked by uid 99); 30 May 2008 05:13:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 22:13:13 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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, 30 May 2008 05:12:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F41AF234C12E for ; Thu, 29 May 2008 22:12:44 -0700 (PDT) Message-ID: <747346769.1212124364998.JavaMail.jira@brutus> Date: Thu, 29 May 2008 22:12:44 -0700 (PDT) From: "Vinod Kumar Vavilapalli (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3151) Hod should have better error messages. In-Reply-To: <1508680323.1207084344315.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601012#action_12601012 ] Vinod Kumar Vavilapalli commented on HADOOP-3151: ------------------------------------------------- Also created HADOOP-3464 to address other issues as part of a larger error messages improvement process. > Hod should have better error messages. > -------------------------------------- > > Key: HADOOP-3151 > URL: https://issues.apache.org/jira/browse/HADOOP-3151 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hod > Reporter: Arkady Borkovsky > Fix For: 0.18.0 > > Attachments: HADOOP-3151 > > > (1) > gsgw1037:/homes/arkady/CDSR> hod allocate -n 4 -d xx > error: bin/hod failed to start. > error: invalid 'clusterdir' specified in section hod (--hod.clusterdir): xx > error: 1 problem found. > Check your command line options and/or your configuration file /grid/0/kryptonite/hod/conf/hodrc > * Directory 'xx' does not exist - the message shuold say "Non-existing directory" (or "directory not found"), not "invalid" > * checking the configuration file will not help, the advice is confusing > * checking the command line options is the obvious thing to do -- the advise is unnecessary. > (2) when hod does not understand the command, it prints the whole help options message -- which clobbers the screen and is confusing. It should give a meaningful message -- and may say "type hod help for more info" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.