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

Jeff Zhang commented on TEZ-850:
--------------------------------

[~hitesh], I have done some work on this. But considering this would be a large 
patch, want to describe my overall design and hope to get your comments first.

Here all the recovery unit test is for the recovery process , not including 
logging recovery event and parsing recovery file.
Overall design is that first restore the entity from HistoryEvent and then call 
the RecoverTransition. 

One sample test case for Recovery of DAG is like this 
{code}
   restoreFromDAGInitializedEvent -> restoreFromDAGStartedEvent 
     -> restoreFromDAGFinished (SUCCEED) -> RecoverTransition
{code}
In each step, I will verify whether the status fields are updated and in the 
correct state. 


> Recovery unit tests
> -------------------
>
>                 Key: TEZ-850
>                 URL: https://issues.apache.org/jira/browse/TEZ-850
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Jeff Zhang
>
> Tests for custom edge managers, groups handling, etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to