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

Hitesh Shah commented on TEZ-2190:
----------------------------------

[~zjffdu] To answer your question, there is a case where there is no 
initializer but there is a data source descriptor with numShards set to 
non-zero. In the createDAG() function, after verify(), it sets vertex 
parallelism to numShards if certain conditions are met. In this scenario, 
verify() was failing even though the dagPlan would have been setup properly. 

> TestOrderedWordCount fails when generateSplitsInClient set to true
> ------------------------------------------------------------------
>
>                 Key: TEZ-2190
>                 URL: https://issues.apache.org/jira/browse/TEZ-2190
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Hitesh Shah
>             Fix For: 0.6.1
>
>         Attachments: TEZ-2190.1.patch, TEZ-2190.2.patch, TEZ-2190.3.patch
>
>
> numTasks for the map stage is unset in this scenario leading to the following 
> error:
> {code}
> java.lang.IllegalStateException: initialmap has -1 tasks but does not have 
> input initializers, 1-1 uninited sources or custom vertex manager to set it 
> at runtime
> {code}



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

Reply via email to