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

Jeff Zhang commented on TEZ-1267:
---------------------------------

Attach patch.

* For VertexManager, all the exception from VertexManager is caught and will 
fail the DAG if VertexManager throw exception.
* For InputInitliazer, only the exception from InputInitliazer.initialize() is 
caught. handleInputInitializerEvent and onVertexStateUpdated is not easy to 
handle, not implemented yet in this patch. 

> Exception handling when Routing Events
> --------------------------------------
>
>                 Key: TEZ-1267
>                 URL: https://issues.apache.org/jira/browse/TEZ-1267
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Jeff Zhang
>            Priority: Critical
>         Attachments: Tez-1267.patch
>
>
> Events are generated by user code. In some places they're also handled by 
> user code within the AM. Currently, exceptions which are generated when 
> handling user code will end up killing the AM (and hence leading to a retry).
> Instead, failure to handle such events, should cause the application to fail.



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

Reply via email to