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

Jeff Zhang commented on TEZ-1024:
---------------------------------

[~hitesh] I update the patch. Make the following changes:

*  resolve indenting issue
*  add comment to these test cases
*  make field failedAttempts visible for testing, and verify it explicitly in 
unit test.

> 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-2.patch, Tez-1024-3.patch, 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