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

Rohini Palaniswamy commented on TEZ-800:
----------------------------------------

Just to clarify, you are telling that if we set parallelism on source vertex, 
we can't set -1 on destination vertex when there is 1-1 mapping. It's either -1 
on both, or parallelism set on both. Is that right? Is it very difficult to 
allow support for -1 on destination vertex in Tez, if source vertex has 
parallelism set?

> One-one edge with parallelism -1 fails if source vertex parallelism is not -1 
> as well
> -------------------------------------------------------------------------------------
>
>                 Key: TEZ-800
>                 URL: https://issues.apache.org/jira/browse/TEZ-800
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Rohini Palaniswamy
>            Assignee: Bikas Saha
>
> // no input initializers. At this moment, only other case is 1-1 edge
>           // with uninitialized sources
>           boolean hasOneToOneUninitedSource = false;
>           for (Map.Entry<Vertex, Edge> entry : 
> vertex.sourceVertices.entrySet()) {
>             if (entry.getValue().getEdgeProperty().getDataMovementType() == 
>                 DataMovementType.ONE_TO_ONE) {
>               if (entry.getKey().getTotalTasks() == -1) {
>                 hasOneToOneUninitedSource = true;
>                 break;
>               }
>             }
>           }
> This checks for the source vertex which has the 1-1 edge to also have -1 
> parallelism.



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

Reply via email to