Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Setting execution type as tez inside pig script.

Solved Go to solution
Highlighted

Re: Setting execution type as tez inside pig script.

Explorer

Also, you can use Java, as @daijy 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 Running Pig with the Tez Execution Engine (command line, the pig.properties file, or Java).

Highlighted

Re: Setting execution type as tez inside pig script.

New Contributor

Thanks for the clarification, if possible let us know once documentation is corrected.

Re: Setting execution type as tez inside pig script.

Explorer

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.

Don't have an account?
Coming from Hortonworks? Activate your account here