<?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: Hive Query Fails in Tez, Runs in MR mode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197722#M83988</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Krystle Salazar"&gt;@Krystle Salazar&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set that on the hive CLI &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;set hive.executio.engine=tez;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Should do &lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Oct 2018 00:08:43 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-10-04T00:08:43Z</dc:date>
    <item>
      <title>Hive Query Fails in Tez, Runs in MR mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197718#M83984</link>
      <description>&lt;P&gt;Hive Query fails with the below error when running in Tez Mode. My application dont have option to alter the execution mode. So tez is the only option. Is this a bug from Tez ? Query run fine in MR mode when tried from shell.. &lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------
Map 1 .....          RUNNING    494        278        0      216     343       0
Reducer 2             INITED     62          0        0       62       0       0
--------------------------------------------------------------------------------
VERTICES: 00/02  [=============&amp;gt;&amp;gt;-------------] 50%   ELAPSED TIME: 41.84 s
--------------------------------------------------------------------------------
Status: Failed
Vertex failed, vertexName=Map 1, vertexId=vertex_1537195062060_938252_1_00, diagnostics=[Task failed, taskId=task_1537195062060_938252_1_00_000367, diagn=[TaskAttempt 0 failed, info=[Error: Failure while running task:java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.io.IOEon: java.io.IOException: wrong key class: org.apache.hadoop.io.NullWritable is not class org.apache.hadoop.io.BytesWritable
        at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:173)
        at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:139)
        at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:347)
        at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:194)
        at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:185)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
        at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:185)
        at org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:181)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.io.IOException: java.io.IOException: &lt;STRONG&gt;wrong key class: org.apache.hadoop.io.NullWritablet class org.apache.hadoop.io.BytesWritable
        at &lt;/STRONG&gt;org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.pushRecord(MapRecordSource.java:71)
        at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:325)
        at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:150)
        ... 14 more&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 02:08:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197718#M83984</guid>
      <dc:creator>anilpallickal</dc:creator>
      <dc:date>2018-10-03T02:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Query Fails in Tez, Runs in MR mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197719#M83985</link>
      <description>&lt;P&gt;Same problem here while triying to insert in the Sandbox HDP 2.6.4.&lt;/P&gt;&lt;P&gt;And the MapReduce mode is very slow too, it would be great be able to use Hive with TEZ.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 05:48:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197719#M83985</guid>
      <dc:creator>krystle_salazar</dc:creator>
      <dc:date>2018-10-03T05:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Query Fails in Tez, Runs in MR mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197720#M83986</link>
      <description>&lt;P&gt;Probably you might be hitting TEZ-2741.&lt;/P&gt;&lt;P&gt;can you try to run the query by setting below config&lt;/P&gt;&lt;PRE&gt;hive.compute.splits.in.am=false&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:01:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197720#M83986</guid>
      <dc:creator>nramanaiah</dc:creator>
      <dc:date>2018-10-03T15:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Query Fails in Tez, Runs in MR mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197721#M83987</link>
      <description>&lt;P&gt;Worked like a charm!. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 23:38:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197721#M83987</guid>
      <dc:creator>anilpallickal</dc:creator>
      <dc:date>2018-10-03T23:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Query Fails in Tez, Runs in MR mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197722#M83988</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Krystle Salazar"&gt;@Krystle Salazar&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set that on the hive CLI &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;set hive.executio.engine=tez;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Should do &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 00:08:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Query-Fails-in-Tez-Runs-in-MR-mode/m-p/197722#M83988</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-10-04T00:08:43Z</dc:date>
    </item>
  </channel>
</rss>

