<?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: hiveCLI not working with tez but works with mapreduce in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313420#M225528</link>
    <description>&lt;P&gt;Hi, y&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;es it's right.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't recommend using the sandbox for testing of any upgrades of a production environment.&lt;BR /&gt;Many times the the sendbox env have been very sundry from the stnadard installed environments.&lt;/P&gt;&lt;P&gt;The sandbox is designed to understand the technology, but in your case I recommend having a test environment at scale compared to the production one, with the same versions and topology.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 13:49:23 GMT</pubDate>
    <dc:creator>isoardi</dc:creator>
    <dc:date>2021-03-19T13:49:23Z</dc:date>
    <item>
      <title>hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313001#M225364</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I am having issues accessing the hive CLI when using tez but it works with mapreduce.&lt;/P&gt;&lt;P&gt;I get the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[root@test02 ~]# hive&lt;BR /&gt;Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0&lt;BR /&gt;Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0&lt;BR /&gt;log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.&lt;/P&gt;&lt;P&gt;Logging initialized using configuration in file:/etc/hive/2.6.1.0-129/0/hive-log4j.properties&lt;BR /&gt;Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. No cluster diagnostics found.&lt;BR /&gt;at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:560)&lt;BR /&gt;at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)&lt;BR /&gt;at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.run(RunJar.java:233)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:148)&lt;BR /&gt;Caused by: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. No cluster diagnostics found.&lt;BR /&gt;at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:699)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:218)&lt;BR /&gt;at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:116)&lt;BR /&gt;at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:557)&lt;BR /&gt;... 8 more&lt;BR /&gt;[root@test02 ~]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2021 20:04:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313001#M225364</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-14T20:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313275#M225473</link>
      <description>&lt;P&gt;Hi, This seems to be a generic error, can you upload complete HS2 logs where you can see these exceptions?&lt;/P&gt;&lt;P&gt;Is beeline works with Tez?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 01:01:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313275#M225473</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2021-03-18T01:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313368#M225502</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did find this error in the application log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2021-03-18 10:33:27,963 [INFO] [main] |app.DAGAppMaster|: Comparing client version with AM version, clientVersion=0.7.0.2.6.1.0-129, AMVersion=0.8.4.2.6.1.0-129&lt;BR /&gt;2021-03-18 10:33:27,964 [ERROR] [main] |app.DAGAppMaster|: Incompatible versions found, clientVersion=0.7.0.2.6.1.0-129, AMVersion=0.8.4.2.6.1.0-129&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not exactly sure how to resolve this&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 15:37:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313368#M225502</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-18T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313369#M225503</link>
      <description>&lt;P&gt;Sorry forgot to mention that this does work with beeline and I assume it is using tez because I have it set to tez in the hive.execution.engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error above is in regards to hiveCLI only and in the application logs there seems to be some version mismatch which I am not exactly sure how to resolve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 15:42:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313369#M225503</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-18T15:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313380#M225513</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84981"&gt;@ryu&lt;/a&gt;&amp;nbsp; Are you able to connect to beeline? And can you make sure that the output of the below command has all components pointing to the current version in your cluster:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdp-select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the command help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.1.2.1/bk_upgrading_Ambari/content/_Run_HDP_Select_mamiu.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.1.2.1/bk_upgrading_Ambari/content/_Run_HDP_Select_mamiu.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:03:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313380#M225513</guid>
      <dc:creator>mugdha</dc:creator>
      <dc:date>2021-03-19T05:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313402#M225523</link>
      <description>&lt;P class="p"&gt;Hi,&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p"&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I don't know which version of hive you are running, but hive-cli has been deprecated:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P class="p"&gt;In HDP 3.0 and later, Hive does not support the following features:&lt;/P&gt;&lt;UL class="ul"&gt;&lt;LI&gt;Apache Hadoop Distributed Copy (DistCp)&lt;/LI&gt;&lt;LI&gt;WebHCat&lt;/LI&gt;&lt;LI&gt;Hcat CLI&lt;/LI&gt;&lt;LI&gt;Hive CLI (replaced by Beeline)&lt;/LI&gt;&lt;LI&gt;SQL Standard Authorization&lt;/LI&gt;&lt;LI&gt;MapReduce execution engine (replaced by Tez)&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 08:03:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313402#M225523</guid>
      <dc:creator>isoardi</dc:creator>
      <dc:date>2021-03-19T08:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313419#M225527</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/41138"&gt;@isoardi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We currently have hive 1.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since hiveCLI is deprecated and as long as beeline or hiveserver2 works, then I should probably not bother fixing or worrying about hiveCLI right?&lt;BR /&gt;This is a sandbox cluster and using this cluster to prepare to eventually upgrade the production cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 12:48:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313419#M225527</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-19T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313420#M225528</link>
      <description>&lt;P&gt;Hi, y&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;es it's right.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't recommend using the sandbox for testing of any upgrades of a production environment.&lt;BR /&gt;Many times the the sendbox env have been very sundry from the stnadard installed environments.&lt;/P&gt;&lt;P&gt;The sandbox is designed to understand the technology, but in your case I recommend having a test environment at scale compared to the production one, with the same versions and topology.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 13:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313420#M225528</guid>
      <dc:creator>isoardi</dc:creator>
      <dc:date>2021-03-19T13:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: hiveCLI not working with tez but works with mapreduce</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313431#M225530</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/41138"&gt;@isoardi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;oh this is a cluster that I can use to test upgrades etc.&lt;BR /&gt;But I did install HDP 2.6.x onto this cluster which is similar to our production environment.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 15:12:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveCLI-not-working-with-tez-but-works-with-mapreduce/m-p/313431#M225530</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-03-19T15:12:22Z</dc:date>
    </item>
  </channel>
</rss>

