[
https://issues.apache.org/jira/browse/TEZ-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209681#comment-14209681
]
Jeff Zhang commented on TEZ-1384:
---------------------------------
[~hitesh], I back to this jira. I plan to consolidate the history events into
XXXRecoveredData and then wrap it to RecoveredEvent, and send this event to
DAG/Vertex/Task/TaskAttempt to trigger the recovery.
This would move the recovery code out of DAG/Vertex/Task/TaskAttempt, decouple
the recovery with the normal flow. This will solve both this jira and
TEZ-1657. Let me know if you have any concern on this.
> Move recovery related code into inner class
> -------------------------------------------
>
> Key: TEZ-1384
> URL: https://issues.apache.org/jira/browse/TEZ-1384
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Jeff Zhang
> Assignee: Jeff Zhang
> Attachments: Tez-1384-2.patch, Tez-1384.patch
>
>
> Currently each entity (DAG, Vertex, Task, TaskAttempt) has some common
> recovery code like log history event and restore from history event. These
> are 2 opposite aspects of recovery. One for store status while the other is
> for restore status. This jira is for putting these pieces of code together (
> in an inner class ). In this way, it is easy to maintain and cut down the
> possibility that one field is not stored or restored.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)