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

Hitesh Shah commented on TEZ-877:
---------------------------------

[~tassapola] Would it be simpler to just set yarn max am attempts to 1 for the 
mini cluster for these tests?

> Output verification should be strict enough to disregard relaunched attempt.
> ----------------------------------------------------------------------------
>
>                 Key: TEZ-877
>                 URL: https://issues.apache.org/jira/browse/TEZ-877
>             Project: Apache Tez
>          Issue Type: Sub-task
>    Affects Versions: 0.3.0
>            Reporter: Tassapol Athiapinya
>             Fix For: 0.3.0
>
>
> In current output verification framework, new attempt can pollute test result.
> For example, if test expects output of attempt 0 of a vertex to be N. If 
> actual output is N-1, test will still pass because once output verification 
> of N-1 fails, new attempt will be launched. We calculate sum of the vertex by 
> summing input values and its attempt number+1. With new attempt, sum of the 
> vertex is bumped by one to N and test will pass.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to