<?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 I am using Both hive CLI and Beeline CLI. Beeline CLI much slower than Hive CLI ..what is reason? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43026#M35181</link>
    <description>&lt;P&gt;Hi Myself Devendra Bhumarapu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently We have upgraded to from Hive CLI to Beeline CLI with Hive Server2. While Querying on both &amp;nbsp;Beeline CLI much slower than the Hive CLI. Though Beeline CLI advanced version of Hive We need to look into speed.I dont know the what is the exact reason behind that.. Please share your thoughts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Devendra B&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:30:43 GMT</pubDate>
    <dc:creator>dev143786</dc:creator>
    <dc:date>2022-09-16T10:30:43Z</dc:date>
    <item>
      <title>I am using Both hive CLI and Beeline CLI. Beeline CLI much slower than Hive CLI ..what is reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43026#M35181</link>
      <description>&lt;P&gt;Hi Myself Devendra Bhumarapu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently We have upgraded to from Hive CLI to Beeline CLI with Hive Server2. While Querying on both &amp;nbsp;Beeline CLI much slower than the Hive CLI. Though Beeline CLI advanced version of Hive We need to look into speed.I dont know the what is the exact reason behind that.. Please share your thoughts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Devendra B&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:30:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43026#M35181</guid>
      <dc:creator>dev143786</dc:creator>
      <dc:date>2022-09-16T10:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: I am using Both hive CLI and Beeline CLI. Beeline CLI much slower than Hive CLI ..what is reason</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43651#M35182</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Devendra,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Beeline is just a thin JDBC client to access HiveServer2. HS2 does the same thing which Hive CLI should - to submit the Hive query as a MR job. So&amp;nbsp;the YARN / MR job execution times should be the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There can be more factors what could influence the speed of the query through HiveServer2, but most of the time it comes to one of these:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- HS2 host is overloaded (see top output for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- HiveServer2 java heap is too small and JVM needs to GC too many time. Thus it cannot process the query as fast as it would be optimal (look up HS2 java heap settings, look at GC times after enabling GC logging)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;HiveServer2 needs to run&amp;nbsp;more complex queries at the same time, but only one query can be compiled at a time which can be a bottleneck.&amp;nbsp;You can exclude it if you do your performance tests in a quite time, or take a stack trace collection while this is slow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps a bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Miklos Szurap&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Customer Operations Engineer, Cloudera&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:16:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43651#M35182</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2016-08-08T15:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: I am using Both hive CLI and Beeline CLI. Beeline CLI much slower than Hive CLI ..what is reason</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43688#M35183</link>
      <description>&lt;P&gt;Thanks &lt;SPAN&gt;Miklos Szurap&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;your information helped much &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 06:56:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/43688#M35183</guid>
      <dc:creator>dev143786</dc:creator>
      <dc:date>2016-08-09T06:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: I am using Both hive CLI and Beeline CLI. Beeline CLI much slower than Hive CLI ..what is reason</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/64333#M35184</link>
      <description>So what will be the solution, Is there any configuration changes we can make to speed up the beeline CLI?</description>
      <pubDate>Mon, 05 Feb 2018 12:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-using-Both-hive-CLI-and-Beeline-CLI-Beeline-CLI-much/m-p/64333#M35184</guid>
      <dc:creator>Vennila</dc:creator>
      <dc:date>2018-02-05T12:35:01Z</dc:date>
    </item>
  </channel>
</rss>

