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

Hitesh Shah commented on TEZ-1345:
----------------------------------

What [~bikassaha] is recommending is to have the RootInitializer generate a new 
event - say something like InputInitializerDoneEvent - one event per 
Initializer. Now, this event should be generated after all the initialization 
events are generated.

If this event is seen during recovery, the framework then understands the 
initializer work was done and all events recovered. If this event is not seen 
for all initializers, the vertex should be restarted from scratch. 





> Add checks to guarantee all init events are written to recovery to consider 
> vertex initialized
> ----------------------------------------------------------------------------------------------
>
>                 Key: TEZ-1345
>                 URL: https://issues.apache.org/jira/browse/TEZ-1345
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Jeff Zhang
>         Attachments: Tez-1345-2.patch, Tez-1345-3.patch, Tez-1345-4.patch, 
> Tez-1345.patch
>
>
> Related to issue discovered in TEZ-1033



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

Reply via email to