Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 79349 invoked from network); 27 Feb 2009 11:29:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 11:29:39 -0000 Received: (qmail 15448 invoked by uid 500); 27 Feb 2009 11:29:38 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 14733 invoked by uid 500); 27 Feb 2009 11:29:35 -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 14722 invoked by uid 99); 27 Feb 2009 11:29:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 03:29:35 -0800 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, 27 Feb 2009 11:29:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B9A89234C4A7 for ; Fri, 27 Feb 2009 03:29:12 -0800 (PST) Message-ID: <1318153062.1235734152759.JavaMail.jira@brutus> Date: Fri, 27 Feb 2009 03:29:12 -0800 (PST) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5201) getDiagnostics in TaskReport should return exceptions In-Reply-To: <1819640164.1234200299845.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-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677324#action_12677324 ] Steve Loughran commented on HADOOP-5201: ---------------------------------------- How about we create a specific feature req "create a stable wire format for exceptions" to discuss what we and where it woudl be used > getDiagnostics in TaskReport should return exceptions > ----------------------------------------------------- > > Key: HADOOP-5201 > URL: https://issues.apache.org/jira/browse/HADOOP-5201 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Reporter: Santhosh Srinivasan > > Currently, getDiagnostics() returns Strings. When exceptions are thrown in user code and/or Hadoop, it would be cleaner to propagate the exception back to the application for better error handling. Hadoop should return the exceptions instead of returning string representations that correspond to printStackTrace() output. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.