hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5201) getDiagnostics in TaskReport should return exceptions
Date Wed, 18 Mar 2009 17:33:50 GMT

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

Santhosh Srinivasan commented on HADOOP-5201:
---------------------------------------------

Yes, that is exactly what I do. Most of them get thrown. You can look at the source at the
following location. In particular look at the method getExceptionFromString

http://svn.apache.org/viewvc/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/Launcher.java?view=log

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


Mime
View raw message