[ 
https://issues.apache.org/jira/browse/TEZ-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Seth updated TEZ-2669:
--------------------------------
    Attachment: TEZ-2669.1.txt

First iteration of the patch. Worked on by [~hitesh] and me.

The plugin managers take care of handling exceptions from user code and 
shutting down the AM. The itnerfaces itself do not throw Exceptions - I don't 
think it's useful doing that since Tez can't take any useful action in such 
cases. This also forces the user code to look at possible Exceptions instead of 
just letting them filter through to the framework.

A bunch of tests added to verify behaviour.

I think there's some cases - where the framework could have a bug - which can 
still cause the AM to restart - i.e. the error reaches the Dispatcher directly. 
I'm going to create a separate jira for these.

> 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
>            Priority: Blocker
>         Attachments: TEZ-2669.1.txt
>
>




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

Reply via email to