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

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

Good catch!

Maybe we can get away with removing the numpendingtasks check here. I am 
worried that doing it earlier may be susceptible to calling scheduleTasks() 
multiple times.
{code}if (numBipartiteSourceTasksCompleted == totalNumBipartiteSourceTasks && 
numPendingTasks > 0) {
      LOG.info("All source tasks assigned. " +
          "Ramping up " + numPendingTasks + 
          " remaining tasks for vertex: " + getContext().getVertexName());
      schedulePendingTasks(numPendingTasks, 1);
      return;
    }{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
>
>
> 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