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

Jeff Zhang commented on TEZ-853:
--------------------------------

[~hitesh] Attach the patch.

* Fix one small bug in DAGStatus ( use method getDAGCounters instead of field 
dagCounters, because it may not have been deserlized from proto )
* restore DAGCounter (TOTAL_LAUNCHED_TASKS, NUM_FAILED_TASKS, NUM_KILLED_TASKS 
) in TaskAttemptImpl. Other counters are all recovered from 
TaskAttemptFinishedEvent. Although there's also counters in 
VertexFinishedEvent, recover from TaskAttempt should also be OK.
* add unit test to verify that the DAGCounter is correctly recovered. 

Besides unit test in this patch, also plan to add unit test for this in 
[Tez-850|https://issues.apache.org/jira/browse/TEZ-850]

> Support counters recovery
> -------------------------
>
>                 Key: TEZ-853
>                 URL: https://issues.apache.org/jira/browse/TEZ-853
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Jeff Zhang
>         Attachments: Tez-853.patch
>
>




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

Reply via email to