[
https://issues.apache.org/jira/browse/TEZ-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15328842#comment-15328842
]
Hitesh Shah commented on TEZ-3294:
----------------------------------
[~harishjp] Thanks. Committed to master and branch 0.8. Can you provide a patch
for branch 0.7 too?
> DAG.createDag() does not clear local state on repeat calls
> ----------------------------------------------------------
>
> Key: TEZ-3294
> URL: https://issues.apache.org/jira/browse/TEZ-3294
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Harish Jaiprakash
> Assignee: Harish Jaiprakash
> Fix For: 0.9.0, 0.8.4
>
> Attachments: TEZ-3294.0.patch, TEZ-3294.1.patch, TEZ-3294.2.patch
>
>
> Retry of submitDAG calls, on the same DAG object, when there are errors can
> cause IllegalArgumentException.
> {noformat}
> 2016-04-24 00:33:40,885 ERROR [HiveServer2-Background-Pool: Thread-74]:
> exec.Task (TezTask.java:execute(212)) - Failed to execute tez graph.
> java.lang.IllegalArgumentException: size of topologicalVertexStack is:3 while
> size of vertices is:2, make sure they are the same in order to sort the
> vertices
> at
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
> at org.apache.tez.dag.api.DAG.createDag(DAG.java:761)
> at
> org.apache.tez.client.TezClientUtils.prepareAndCreateDAGPlan(TezClientUtils.java:694)
> at org.apache.tez.client.TezClient.submitDAGSession(TezClient.java:508)
> at org.apache.tez.client.TezClient.submitDAG(TezClient.java:454)
> at org.apache.hadoop.hive.ql.exec.tez.TezTask.submit(TezTask.java:457)
> at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:180)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)