<?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: Hi..whats the difference between &amp;quot;Start Tez session at Initialization&amp;quot; and hive.execution.engine=tez properties? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123379#M30944</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks, This makes sense, so its always better to set the value to "True" rt?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 23:34:59 GMT</pubDate>
    <dc:creator>Srikaran</dc:creator>
    <dc:date>2016-06-07T23:34:59Z</dc:date>
    <item>
      <title>Hi..whats the difference between "Start Tez session at Initialization" and hive.execution.engine=tez properties?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123375#M30940</link>
      <description>&lt;P&gt;If both are not same how they are different? Can you please let me know?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 06:19:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123375#M30940</guid>
      <dc:creator>Srikaran</dc:creator>
      <dc:date>2016-06-07T06:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hi..whats the difference between "Start Tez session at Initialization" and hive.execution.engine=tez properties?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123376#M30941</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2913/srikaranj.html" nodeid="2913"&gt;@Srikaran Jangidi
&lt;/A&gt;&lt;P style="display: inline !important;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2913/srikaranj.html" nodeid="2913"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Start Tez session at Initialization - Enables a user to use HiveServer2 without enabling Tez for HiveServer2. Users might potentially want to run queries with Tez without a pool of sessions.&lt;/P&gt;&lt;P&gt;Default value is False&lt;/P&gt;&lt;P&gt;hive.execution.engine=tez - This setting determines whether Hive queries will be executed using Tez or MapReduce.&lt;/P&gt;&lt;P&gt;Default value is - If this value is set to "mr," Hive queries will be executed using MapReduce. If this value is set to "tez," Hive queries will be executed using Tez. All queries executed through HiveServer2 will use the specified hive.execution.engine setting.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 13:24:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123376#M30941</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-06-07T13:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hi..whats the difference between "Start Tez session at Initialization" and hive.execution.engine=tez properties?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123377#M30942</link>
      <description>&lt;P&gt;Let me put the question this way. If I have hive.execution.engine=tez; why do I need the property hive.server2.tez.initialize.default.sessions to set it to "True"? Whats the use-case for this property? I ran multiple tests but my hive.execution.engine property drives how the query works and not this default sessions property.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 21:02:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123377#M30942</guid>
      <dc:creator>Srikaran</dc:creator>
      <dc:date>2016-06-07T21:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hi..whats the difference between "Start Tez session at Initialization" and hive.execution.engine=tez properties?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123378#M30943</link>
      <description>&lt;P&gt;"Let me put the question this way. If I have hive.execution.engine=tez; why do I need the property hive.server2.tez.initialize.default.sessions to set it to "True"? Whats the use-case for this property? I ran multiple tests but my hive.execution.engine property drives how the query works and not this default sessions property"&lt;/P&gt;&lt;P&gt;The default session parameter has nothing to do with the way the query is executed. It is for pre-creating Tez sessions. If this is false the first query on an empty system will take at least 20seconds to create a session.&lt;/P&gt;&lt;P&gt;Time for a Tez query:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hiveserver prepare, compilation, ...: ~1sec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Not much you can do here however it continuously gets faster.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Initialize Tez Application Master ( Session &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; ~10 seconds &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To reduce that Hive can reuse Sessions, that are idle, AMs are kept for normally 120s after a query is run. Or you can i&lt;STRONG&gt;nstantiate default sessions &lt;/STRONG&gt;if you cannot live with that delay.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Initialize Containers : 3-10s&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The next step is to allocate the work containers to the Session, again Tez can reuse containers or you can preheat containers. ( pre allocate the containers ) &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The actual query&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That depends on your data.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 22:58:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123378#M30943</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-06-07T22:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hi..whats the difference between "Start Tez session at Initialization" and hive.execution.engine=tez properties?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123379#M30944</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks, This makes sense, so its always better to set the value to "True" rt?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 23:34:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123379#M30944</guid>
      <dc:creator>Srikaran</dc:creator>
      <dc:date>2016-06-07T23:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hi..whats the difference between "Start Tez session at Initialization" and hive.execution.engine=tez properties?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123380#M30945</link>
      <description>&lt;P&gt;Personally I like it off. It binds extra resources in the cluster and the second query will be fast anyway. You also need to know how many sessions you want in advance since it will redistrube queries to the precreated seasons. If you don't care about the first query on a cold system being slow keeping it off is the safer choice IMO&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 04:08:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hi-whats-the-difference-between-quot-Start-Tez-session-at/m-p/123380#M30945</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-06-08T04:08:30Z</dc:date>
    </item>
  </channel>
</rss>

