[
https://issues.apache.org/jira/browse/TEZ-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084204#comment-14084204
]
Jeff Zhang commented on TEZ-1024:
---------------------------------
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)