Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 32996 invoked from network); 9 Jul 2008 14:00:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 14:00:35 -0000 Received: (qmail 84784 invoked by uid 500); 9 Jul 2008 14:00:29 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 84755 invoked by uid 500); 9 Jul 2008 14:00:28 -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 84733 invoked by uid 99); 9 Jul 2008 14:00:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 07:00:28 -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; Wed, 09 Jul 2008 13:59:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02A8A234C15F for ; Wed, 9 Jul 2008 06:59:32 -0700 (PDT) Message-ID: <2096558671.1215611972009.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 06:59:32 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3725) TestMiniMRMapRedDebugScript loses exception details In-Reply-To: <869119884.1215611971657.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-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-3725: ----------------------------------- Attachment: hadoop-3725.patch patch for this > TestMiniMRMapRedDebugScript loses exception details > --------------------------------------------------- > > Key: HADOOP-3725 > URL: https://issues.apache.org/jira/browse/HADOOP-3725 > Project: Hadoop Core > Issue Type: Bug > Components: test > Affects Versions: 0.19.0 > Reporter: Steve Loughran > Priority: Minor > Attachments: hadoop-3725.patch > > > The test class org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript catches and prints exception details then calls fail(), rather than relaying the exception up to the calling test framework. this make the full stack trace harder to obtain. It could be a relic of the class having its own main() entry point. > trivial to fix: add Exception to the test signature, move the catch/print into the main() method for that entry point -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.