Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 32193 invoked from network); 12 Aug 2008 22:00:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Aug 2008 22:00:40 -0000 Received: (qmail 59075 invoked by uid 500); 12 Aug 2008 22:00:36 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 59038 invoked by uid 500); 12 Aug 2008 22:00:36 -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 58997 invoked by uid 99); 12 Aug 2008 22:00:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 15:00:35 -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; Tue, 12 Aug 2008 21:59:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 894A3234C1AA for ; Tue, 12 Aug 2008 14:59:44 -0700 (PDT) Message-ID: <888840937.1218578384561.JavaMail.jira@brutus> Date: Tue, 12 Aug 2008 14:59:44 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3852) If ShellCommandExecutor had a toString() operator that listed the command run, its error messages may be more meaningful In-Reply-To: <888650022.1217337273772.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-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Owen O'Malley updated HADOOP-3852: ---------------------------------- Resolution: Fixed Fix Version/s: 0.19.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. Thanks, Steve! > If ShellCommandExecutor had a toString() operator that listed the command run, its error messages may be more meaningful > ------------------------------------------------------------------------------------------------------------------------ > > Key: HADOOP-3852 > URL: https://issues.apache.org/jira/browse/HADOOP-3852 > Project: Hadoop Core > Issue Type: Improvement > Components: util > Affects Versions: 0.19.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Fix For: 0.19.0 > > Attachments: hadoop-3852.patch > > > It may be easier to identify what causes error commands to be returned on an exec if the command is included in the error message. this can be done with > * a toString() operator on the class that includes the list of arguments (when non null) > * a test that this works with arguments with spaces, and a null array > * relevant use of the operator when an execute fails, such as in TaskTracker -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.