[ 
https://issues.apache.org/jira/browse/TEZ-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094568#comment-15094568
 ] 

Siddharth Seth commented on TEZ-2669:
-------------------------------------

bq. Thinking about this a bit more, can we consider declaring a checked 
exception along the lines of say "throws ServiceFatalException" ? This could be 
derived from either generic Exception or TezException. This would force plugin 
impls to only throw this declared exception in case of fatal errors. The 
exception handling code does not need to change i.e. should still catch 
Exception to account for unchecked exceptions thrown from plugins.
Makes sense. Think this works better actually - since users are still forced to 
handle internal exceptions, and have an indication of what to throw. Will make 
the relevant changes.

> Propagation of errors from plugins to the AM for error reporting
> ----------------------------------------------------------------
>
>                 Key: TEZ-2669
>                 URL: https://issues.apache.org/jira/browse/TEZ-2669
>             Project: Apache Tez
>          Issue Type: Sub-task
>    Affects Versions: 0.8.0-alpha
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>            Priority: Blocker
>         Attachments: TEZ-2669.1.txt, TEZ-2669.2.txt, TEZ-2669.3.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to