<?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: Setting execution type as tez inside pig script. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124917#M87661</link>
    <description>&lt;P&gt;Yes that's right,i am also using sandbox 2.4 and its not working.&lt;/P&gt;&lt;P&gt;As per the documentation below it should work or may be documentation is wrong.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/ch_running-pig-tez.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/ch_running-pig-tez.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there any way to contact the Hortonwork team that prepared this document or any kind of support team that we can contact to raise this issue.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2016 10:41:31 GMT</pubDate>
    <dc:creator>pankaj311983</dc:creator>
    <dc:date>2016-07-15T10:41:31Z</dc:date>
    <item>
      <title>Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124912#M87656</link>
      <description>&lt;P&gt;Is there any way setting up execution mode as tez inside pig script.&lt;/P&gt;&lt;P&gt;i have tried various variation of set exectype=tez to use inside pig script but its not working.&lt;/P&gt;&lt;P&gt;I know it can be done through command line as     pig -x tez -f filename&lt;/P&gt;&lt;P&gt;But in the &lt;STRONG&gt;HDPCD  &lt;/STRONG&gt;certification preparation task, question is asked like &lt;/P&gt;&lt;P&gt;Question: Write a pig script that satsifies following criteria&lt;/P&gt;&lt;P&gt;1. run the pig query using tez as execution engine&lt;/P&gt;&lt;P&gt;2. load data from hive table to pig using hcatalog&lt;/P&gt;&lt;P&gt;So i am confused whether we have to set something inside pig script that will make script run through TEZ.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 10:19:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124912#M87656</guid>
      <dc:creator>pankaj311983</dc:creator>
      <dc:date>2016-07-12T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124913#M87657</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11776/pankaj311983.html" nodeid="11776"&gt;@pankaj chaturvedi&lt;/A&gt;
&lt;/P&gt;&lt;P&gt; inside your pig script do this:&lt;/P&gt;&lt;P&gt;set exectype=tez;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 11:01:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124913#M87657</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-07-12T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124914#M87658</link>
      <description>&lt;P&gt;As i mentioned in my question that i tried various variations of set exectype=tez like below but nothing worked&lt;/P&gt;&lt;P&gt;set exectype=tez&lt;/P&gt;&lt;P&gt;set exectype=TEZ&lt;/P&gt;&lt;P&gt;set ExecType=tez&lt;/P&gt;&lt;P&gt;exectype=tez&lt;/P&gt;&lt;P&gt;-x tez&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 12:40:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124914#M87658</guid>
      <dc:creator>pankaj311983</dc:creator>
      <dc:date>2016-07-12T12:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124915#M87659</link>
      <description>&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/ch_running-pig-tez.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/ch_running-pig-tez.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You forgot to put semicolon at the end. &lt;/P&gt;&lt;PRE&gt;SET exectype=tez;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 15:54:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124915#M87659</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-07-12T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124916#M87660</link>
      <description>&lt;P&gt;Semicolon at the end also does't work. I am currently using HDP sandbox 2.4 but still not able to set execution engine through script.&lt;/P&gt;&lt;P&gt;To Add I have also tried set exectype 'tez';set exectype='tez'; and other form.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 00:54:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124916#M87660</guid>
      <dc:creator>codecian</dc:creator>
      <dc:date>2016-07-15T00:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124917#M87661</link>
      <description>&lt;P&gt;Yes that's right,i am also using sandbox 2.4 and its not working.&lt;/P&gt;&lt;P&gt;As per the documentation below it should work or may be documentation is wrong.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/ch_running-pig-tez.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/ch_running-pig-tez.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there any way to contact the Hortonwork team that prepared this document or any kind of support team that we can contact to raise this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 10:41:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124917#M87661</guid>
      <dc:creator>pankaj311983</dc:creator>
      <dc:date>2016-07-15T10:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124918#M87662</link>
      <description>&lt;P&gt;HDP 2.4 documentation (https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_dataintegration/content/ch_running-pig-tez.html) also says we can use "set exectype=tez;" with in a pig script. But its not working. Is this feature removed in the latest pig version?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 14:57:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124918#M87662</guid>
      <dc:creator>ramu_valleti</dc:creator>
      <dc:date>2016-07-23T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124919#M87663</link>
      <description>&lt;P&gt;From the latest edition of the Pig book: &lt;EM&gt;However, it will not work if you put the statement set exectype 'tez' inside a Pig Latin script. This is because Pig decides the execution engine before parsing the script. &lt;/EM&gt;It can be done by setting exectype in pig.properties, or using "-x tez" on the command line. "-x tez" will also work if your run Pig from Oozie-4.1+ (details &lt;A href="https://issues.apache.org/jira/browse/OOZIE-1861"&gt;here&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:31:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124919#M87663</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-07-26T20:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124920#M87664</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11776/pankaj311983.html" nodeid="11776"&gt;@pankaj chaturvedi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt; apparently the command is incorrect, typically set commands accepts key and value, there is no equal sign. So if this were to work it would be &lt;/P&gt;&lt;PRE&gt;SET exectype 'tez';&lt;/PRE&gt;&lt;P&gt;but it does not work in 2.4 or 2.5. I am following up internally whether this is a bug or feature.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 02:04:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124920#M87664</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-08-05T02:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124921#M87665</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11776/pankaj311983.html" nodeid="11776"&gt;@pankaj chaturvedi&lt;/A&gt; You cannot make Pig run with the Tez execution engine via a Pig script. The "Pig Script" row in the first table of &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_dataintegration/content/ch_running-pig-tez.html"&gt;Running Pig with the Tez Execution Engine&lt;/A&gt; is wrong. &lt;/P&gt;&lt;P&gt;Instead, look at the same doc link and configure Pig to run with Tez by following the information in the "Command Line" or "Pig Properties" row of the table.&lt;/P&gt;&lt;P&gt;I will file a doc bug to have this fixed.&lt;/P&gt;&lt;P&gt;Let me know if this post does not solve your problem. &lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 03:54:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124921#M87665</guid>
      <dc:creator>fwelsch</dc:creator>
      <dc:date>2016-08-05T03:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124922#M87666</link>
      <description>&lt;P&gt;This is a mistake in document. You cannot "set exectype=tez;" in a pig script. You will need to set it in pig.properties, pig command line or JVM option.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 05:37:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124922#M87666</guid>
      <dc:creator>daijy</dc:creator>
      <dc:date>2016-08-05T05:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124923#M87667</link>
      <description>&lt;P&gt;Also, you can use Java, as &lt;A rel="user" href="https://community.cloudera.com/users/2612/daijy.html" nodeid="2612"&gt;@daijy&lt;/A&gt; notes. So in summary you should be able to make Pig run on Tez by one of the methods in the first 3 rows of table 1 in &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_dataintegration/content/ch_running-pig-tez.html"&gt;Running Pig with the Tez Execution Engine&lt;/A&gt; (command line, the pig.properties file, or Java).&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 07:23:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124923#M87667</guid>
      <dc:creator>fwelsch</dc:creator>
      <dc:date>2016-08-05T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting execution type as tez inside pig script.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124924#M87668</link>
      <description>&lt;P&gt;Thanks for the clarification, if possible let us know once documentation is corrected.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 10:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-execution-type-as-tez-inside-pig-script/m-p/124924#M87668</guid>
      <dc:creator>pankaj311983</dc:creator>
      <dc:date>2016-08-07T10:04:32Z</dc:date>
    </item>
  </channel>
</rss>

