<?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: Is there a way to prevent the start of the Tez AM from the Hive CLI? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97954#M11434</link>
    <description>&lt;P&gt;A workaround for this could be launching the hive cli in the following manner:&lt;/P&gt;&lt;PRE&gt;hive -hiveconf hive.execution.engine=mr&lt;/PRE&gt;&lt;P&gt;But this would mean that if you want to run any queries in tez you would need to run "set hive.execution.engine=tez;" before running your queries.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2015 01:03:12 GMT</pubDate>
    <dc:creator>deepesh1</dc:creator>
    <dc:date>2015-12-05T01:03:12Z</dc:date>
    <item>
      <title>Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97949#M11429</link>
      <description>&lt;P&gt;The desired end result is that I want no YARN containers automatically started when I enter the Hive CLI and the engine default is Tez. &lt;/P&gt;&lt;P&gt;hive.prewarm prevents default work containers but I need to stop the Tez AM from launching.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 00:23:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97949#M11429</guid>
      <dc:creator>kkane</dc:creator>
      <dc:date>2015-12-05T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97950#M11430</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/301/gopal.html" nodeid="301"&gt;@gopal&lt;/A&gt;     &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 00:24:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97950#M11430</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-05T00:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97951#M11431</link>
      <description>&lt;P&gt;Looks like the answer is no: &lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://issues.apache.org/jira/browse/HIVE-9602"&gt;https://issues.apache.org/jira/browse/HIVE-9602&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 00:28:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97951#M11431</guid>
      <dc:creator>kkane</dc:creator>
      <dc:date>2015-12-05T00:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97952#M11432</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/298/sseth.html" nodeid="298"&gt;@sseth&lt;/A&gt;     &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 00:29:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97952#M11432</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-05T00:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97953#M11433</link>
      <description>&lt;P&gt;For anyone that is interested in why I want this: &lt;/P&gt;&lt;P&gt;People use Oozie Shell actions to orchestrate work because they are familiar/comfortable with bash.  &lt;/P&gt;&lt;P&gt;When using the Hive CLI from a YARN container context and secure cluster the engine specification must be done in an early stage. &lt;/P&gt;&lt;P&gt;For the Hive CLI this means users must change their existing HQL from &lt;/P&gt;&lt;PRE&gt; hive -e 'set tez.credentials.path=${HADOOP_TOKEN_FILE_LOCATION}' 

to 

--hiveconf tez.credentials.path=${HADOOP_TOKEN_FILE_LOCATION}

For Sqoop, there is no way to affect this change from configuration and the user must ship a custom hive-site.xml in the distributed cache of the Oozie-shell.  This hive-site.xml must set the engine to MR&lt;/PRE&gt;&lt;P&gt;If this is not done, Hive and Sqoop will launch a Tez AM that may never even be used but which fails due to missing the delegation token. &lt;/P&gt;&lt;P&gt;These changes are small from from this explanation but rather large for organizations that already have established HQL and the cluster upgrade includes a default engine change from MR to Tez. &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 00:39:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97953#M11433</guid>
      <dc:creator>kkane</dc:creator>
      <dc:date>2015-12-05T00:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97954#M11434</link>
      <description>&lt;P&gt;A workaround for this could be launching the hive cli in the following manner:&lt;/P&gt;&lt;PRE&gt;hive -hiveconf hive.execution.engine=mr&lt;/PRE&gt;&lt;P&gt;But this would mean that if you want to run any queries in tez you would need to run "set hive.execution.engine=tez;" before running your queries.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 01:03:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97954#M11434</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-12-05T01:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97955#M11435</link>
      <description>&lt;P&gt;Can you help understand the scenario when this is needed? So the Hive shell is executed but wait until a query is executed for creating AM.. this means there are situations where Hive shell is executed and then exited without executing the query? Wont this be an exception scenario or in your case this is so frequent / regular that a workaround is required. I am sorry, just trying to understand when will such a configuration be needed.. &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 02:08:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97955#M11435</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2015-12-05T02:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to prevent the start of the Tez AM from the Hive CLI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97956#M11436</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/261/kkane.html" nodeid="261"&gt;@kkane&lt;/A&gt; are you still having issues with this? Can you accept best answer or provide your own solution?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 23:50:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-prevent-the-start-of-the-Tez-AM-from-the/m-p/97956#M11436</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T23:50:03Z</dc:date>
    </item>
  </channel>
</rss>

