<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Hive job failed on Tez - Failed to execute tez graph in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164787#M45289</link>
    <description>&lt;P&gt;Hi. I created Oozie workflow includes HDFS Fs, Sqoop and Hive jobs. The first two jobs work great - Sqoop imports data from  Oracle database and save to HDFS. But then there is a problem with Hive, more precisely with Tez. When I try to execute only one Hive statement there is no problem:&lt;/P&gt;&lt;PRE&gt;LOAD DATA INPATH '/user/apb_general/dms_update' OVERWRITE INTO TABLE DMS_TEST_MATGRA;
&lt;/PRE&gt;&lt;P&gt;But when I add another statement:&lt;/P&gt;&lt;PRE&gt;LOAD DATA INPATH '/user/apb_general/dms_update' OVERWRITE INTO TABLE DMS_TEST_MATGRA;

INSERT OVERWRITE TABLE DMS_TEST_MATGRA_DIST SELECT DISTINCT macaddr, techchannelname, channelzapnumber FROM DMS_TEST_MATGRA;
&lt;/PRE&gt;&lt;P&gt;job ends with error:&lt;/P&gt;&lt;PRE&gt;11938 [main] ERROR org.apache.hadoop.hive.ql.exec.Task  - 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&lt;/PRE&gt;&lt;P&gt;I found a ticket in JIRA which is associated with this error: &lt;A href="https://issues.apache.org/jira/browse/TEZ-3294"&gt;DAG.createDag() does not clear local state on repeat calls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But fixed versions are 0.7.2 and newer. HDP provides Tez 0.7.0. Do you know how can I overcome this problem? &lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 16:18:51 GMT</pubDate>
    <dc:creator>grabowski14</dc:creator>
    <dc:date>2016-11-04T16:18:51Z</dc:date>
    <item>
      <title>Hive job failed on Tez - Failed to execute tez graph</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164787#M45289</link>
      <description>&lt;P&gt;Hi. I created Oozie workflow includes HDFS Fs, Sqoop and Hive jobs. The first two jobs work great - Sqoop imports data from  Oracle database and save to HDFS. But then there is a problem with Hive, more precisely with Tez. When I try to execute only one Hive statement there is no problem:&lt;/P&gt;&lt;PRE&gt;LOAD DATA INPATH '/user/apb_general/dms_update' OVERWRITE INTO TABLE DMS_TEST_MATGRA;
&lt;/PRE&gt;&lt;P&gt;But when I add another statement:&lt;/P&gt;&lt;PRE&gt;LOAD DATA INPATH '/user/apb_general/dms_update' OVERWRITE INTO TABLE DMS_TEST_MATGRA;

INSERT OVERWRITE TABLE DMS_TEST_MATGRA_DIST SELECT DISTINCT macaddr, techchannelname, channelzapnumber FROM DMS_TEST_MATGRA;
&lt;/PRE&gt;&lt;P&gt;job ends with error:&lt;/P&gt;&lt;PRE&gt;11938 [main] ERROR org.apache.hadoop.hive.ql.exec.Task  - 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&lt;/PRE&gt;&lt;P&gt;I found a ticket in JIRA which is associated with this error: &lt;A href="https://issues.apache.org/jira/browse/TEZ-3294"&gt;DAG.createDag() does not clear local state on repeat calls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But fixed versions are 0.7.2 and newer. HDP provides Tez 0.7.0. Do you know how can I overcome this problem? &lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 16:18:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164787#M45289</guid>
      <dc:creator>grabowski14</dc:creator>
      <dc:date>2016-11-04T16:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hive job failed on Tez - Failed to execute tez graph</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164788#M45290</link>
      <description>&lt;P&gt;This issue is fixed in HDP 2.5 that also comes with Tez 0.7.0. sometimes we backport critical fixes. &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/patch_tez.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/patch_tez.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2016 06:39:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164788#M45290</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-11-06T06:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hive job failed on Tez - Failed to execute tez graph</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164789#M45291</link>
      <description>&lt;P&gt;Thank you for the information &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-job-failed-on-Tez-Failed-to-execute-tez-graph/m-p/164789#M45291</guid>
      <dc:creator>grabowski14</dc:creator>
      <dc:date>2016-11-07T05:47:11Z</dc:date>
    </item>
  </channel>
</rss>

