Description
Retry of submitDAG calls, on the same DAG object, when there are errors can cause IllegalArgumentException.
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)