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

Hitesh Shah commented on TEZ-2669:
----------------------------------

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. 

 

> 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