[ 
https://issues.apache.org/jira/browse/TEZ-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Seth updated TEZ-2369:
--------------------------------
    Attachment: TEZ-2369.1.txt

Some unit tests to exercise the single event path. There's a system test which 
already does this, but that missed a case which can potentially occur in the 
0.7 branch.

The second test will fail on branch-0.5 and 0.6, but will never actually be hit 
in a real run since everything is on the main dispatcher.

Review please.

> Add a few unit tests for RootInputInitializerManager
> ----------------------------------------------------
>
>                 Key: TEZ-2369
>                 URL: https://issues.apache.org/jira/browse/TEZ-2369
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: TEZ-2369.1.txt
>
>
> {code}
> -      Integer successfulAttempt = vertexSuccessfulAttemptMap.get(taskId);
> +      Integer successfulAttempt = 
> vertexSuccessfulAttemptMap.get(taskId.getId());
> {code}
> This could cause events to be sent multiple times.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to