<?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 Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358300#M237799</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/72966"&gt;@drgenious&lt;/a&gt;&amp;nbsp;Can you please provide below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. oozie wf logs(oozie application logs) ==&amp;gt; i can find the exact hive query executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Hive application logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please collect it using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; yarn logs -applicationId &amp;lt;appid&amp;gt; &amp;gt; &amp;lt;appid&amp;gt;.txt ==&amp;gt; FOr bith Oozie and hive&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 08:46:23 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2022-11-24T08:46:23Z</dc:date>
    <item>
      <title>Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358234#M237782</link>
      <description>&lt;P&gt;I have a job which runs a hive query inside. When it comes the time for the query Oozie throws this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error while compiling statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Vertex re-running, vertexName=Map 1, vertexId=vertex_1668428709182_0049_1_00Vertex re-running, vertexName=Map 1, vertexId=vertex_1668428709182_0049_1_00Vertex re-running, vertexName=Map 1, vertexId=vertex_1668428709182_0049_1_00Vertex failed, vertexName=Map 1, vertexId=vertex_1668428709182_0049_1_00, diagnostics=[Vertex vertex_1668428709182_0049_1_00 [Map 1] killed/failed due to:OWN_TASK_FAILURE, Vertex vertex_1668428709182_0049_1_00 [Map 1] failed as task task_1668428709182_0049_1_00_000000 failed after vertex succeeded.]DAG did not succeed due to VERTEX_FAILURE. failedVertices:1 killedVertices:0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can not understand a lot of this error but when I run the job through terminal it ends successfully.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 20:12:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358234#M237782</guid>
      <dc:creator>drgenious</dc:creator>
      <dc:date>2022-11-23T20:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358238#M237784</link>
      <description>&lt;P&gt;Can you please share the app logs? it looks like data issue.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:28:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358238#M237784</guid>
      <dc:creator>Shahrukh_shaikh</dc:creator>
      <dc:date>2022-11-23T15:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358240#M237786</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84023"&gt;@Shahrukh_shaikh&lt;/a&gt;. I do not have them now. What do you mean data issue? When I run theough terminal everything runs smoothly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:38:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358240#M237786</guid>
      <dc:creator>drgenious</dc:creator>
      <dc:date>2022-11-23T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358242#M237788</link>
      <description>&lt;P&gt;most of the time vertex error comes when you have something wrong with data. Check if any data offloading or transforming is happening.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:46:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358242#M237788</guid>
      <dc:creator>Shahrukh_shaikh</dc:creator>
      <dc:date>2022-11-23T15:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358300#M237799</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/72966"&gt;@drgenious&lt;/a&gt;&amp;nbsp;Can you please provide below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. oozie wf logs(oozie application logs) ==&amp;gt; i can find the exact hive query executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Hive application logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please collect it using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; yarn logs -applicationId &amp;lt;appid&amp;gt; &amp;gt; &amp;lt;appid&amp;gt;.txt ==&amp;gt; FOr bith Oozie and hive&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 08:46:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/358300#M237799</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2022-11-24T08:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/383639#M244995</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84023"&gt;@Shahrukh_shaikh&lt;/a&gt;&amp;nbsp;-&amp;nbsp;We are getting the below error when we are running the&amp;nbsp;select distinct on column where it has all NULL values.&amp;nbsp; Does that mean that we should not be running distinct on such columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Cloudera][Hardy] (35) Error from server: error code: '2' error message: 'Error while compiling statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Vertex failed, vertexName=Map 1, vertexId=vertex_1708122343209_1093_1_00, diagnostics=[Task failed, taskId=task_1708122343209_1093_1_00_000000, diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task ( failure ) : attempt_1708122343209_1093_1_00_000000_0:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:298)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:252)&lt;BR /&gt;at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:374)&lt;BR /&gt;at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:75)&lt;BR /&gt;at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:62)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)&lt;BR /&gt;at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:62)&lt;BR /&gt;at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:38)&lt;BR /&gt;at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)&lt;BR /&gt;at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)&lt;BR /&gt;at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)&lt;BR /&gt;at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.processRow(MapRecordSource.java:101)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.pushRecord(MapRecordSource.java:76)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:437)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:269)&lt;BR /&gt;... 16 more&lt;BR /&gt;Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:970)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.processRow(MapRecordSource.java:92)&lt;BR /&gt;... 19 more&lt;BR /&gt;Caused by: java.lang.RuntimeException: no value set&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:52:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/383639#M244995</guid>
      <dc:creator>Rami_Sunkara</dc:creator>
      <dc:date>2024-02-20T16:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/383706#M245024</link>
      <description>&lt;P&gt;Got to know from the dev team that they have modified the column definition. We ran the MSCK repair table and we are able to run the select distinct query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vertex errors may not relate to memory issues.&amp;nbsp;Hope this helps the community.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 14:43:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Execution-Error-return-code-2-from-org-apache-hadoop-hive-ql/m-p/383706#M245024</guid>
      <dc:creator>Rami_Sunkara</dc:creator>
      <dc:date>2024-02-21T14:43:57Z</dc:date>
    </item>
  </channel>
</rss>

