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

Jeff Zhang edited comment on TEZ-1024 at 8/4/14 1:27 AM:
---------------------------------------------------------

Attach the patch. [~hitesh] Please help review it.

Changes in this patch.
* check the status of TaskAttempt to count the failed tasks in the previous 
application attempt.
* add unit test for this. 


was (Author: zjffdu):
Attach the patch.

Changes in this patch.
* check the status of TaskAttempt to count the failed tasks in the previous 
application attempt.
* add unit test for this. 

> Fix determination of failed attempts
> ------------------------------------
>
>                 Key: TEZ-1024
>                 URL: https://issues.apache.org/jira/browse/TEZ-1024
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Bikas Saha
>            Assignee: Jeff Zhang
>         Attachments: Tez-1024.patch
>
>
> Current code looks at task max.attempts to determine if we have already run 
> too many attempts in the previous attempt. However, this would miscount 
> killed attempts (due to preemptione etc) as failed attempts. We should 
> probably be looking at the attempt status to determine the number of failed 
> attempts.



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

Reply via email to