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

Bikas Saha commented on TEZ-1120:
---------------------------------

When attempt completes then it sends completion event to task and also to its 
vertex. The task then sends event to the vertex too that the task has 
completed. The vertex gets 2 back-to-back events. Attempt completion and task 
completion. While it works fine, the vertex unnecessarily gets duplicate 
information. On the attempt completion it notifies downstream vertices and on 
task completion it checks whether it has completed all tasks. This logic seems 
convoluted.

> Vertex should notify destinations about task completion and not attempt 
> completion
> ----------------------------------------------------------------------------------
>
>                 Key: TEZ-1120
>                 URL: https://issues.apache.org/jira/browse/TEZ-1120
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>
> This is unnecessarily crossing the vertex, task, attempt hierarchy.



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

Reply via email to