[ 
https://issues.apache.org/jira/browse/TEZ-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hitesh Shah updated TEZ-3294:
-----------------------------
    Summary: DAG.createDag() does not clear local state on repeat calls  (was: 
Resubmitted dag fails with IllegalArgumentException, when there is a 
javaOptsCheck error.)

> 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
>         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)

Reply via email to