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

Bikas Saha commented on TEZ-3203:
---------------------------------

My bad. I should have been more clear.
The following would be safer than removing the pendingTasks check altogether to 
handled the (potentially impossible) case that pending tasks is still not 
initialized from a -1 value. I can make the change and post the final patch.
{code}
if (numBipartiteSourceTasksCompleted == totalNumBipartiteSourceTasks && 
numPendingTasks >= 0) {
{code}

> DAG hangs when one of the upstream vertices has zero tasks
> ----------------------------------------------------------
>
>                 Key: TEZ-3203
>                 URL: https://issues.apache.org/jira/browse/TEZ-3203
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Critical
>         Attachments: TEZ-3203.001.patch, TEZ-3203.002.patch
>
>
> A DAG hangs during execution if it has a vertex with multiple inputs and one 
> of those upstream vertices has zero tasks and is using ShuffleVertexManager.



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

Reply via email to