[ 
https://issues.apache.org/jira/browse/HADOOP-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672610#action_12672610
 ] 

Steve Loughran commented on HADOOP-5201:
----------------------------------------

I should add that I'd like this feature purely for better logging; no plans to 
rethrow them. If this is also what Santhosh wants, we don't need to do the 
tricks of creating a new Throwable chain, just have a general purpose writeable 
representation of an exception. 

This my SOAP stack equivalent
http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/projects/alpine/prototype/M32/src/java/org/smartfrog/projects/alpine/faults/

> 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.

Reply via email to