hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5201) getDiagnostics in TaskReport should return exceptions
Date Sat, 21 Mar 2009 15:49:50 GMT

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

Owen O'Malley commented on HADOOP-5201:
---------------------------------------

I'm still -1 on this approach. It would make sense to make RemoteException has a cause that
was also a RemoteException. That way if someone (ie. pig) wanted to rebuild the exceptions
it would involve less parsing.

> 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