Pig 0.12 doesn't support tez. If I'm not mistaken you have to replace it with 0.14 (or latest 0.15).
On Wednesday, June 10, 2015, Metelsky, Robert M (CTO Technology) < [email protected]> wrote: > Guys, I'm trying to use tez with pig - can't get past this error - google > not finding much, hopefully someone here has seen this > > This is hdp 2.4 on suse linux > > me@server:/export/home/me> pig -x tez > 15/06/10 10:48:41 ERROR pig.Main: ERROR 2040: Unknown exec type: tez > 15/06/10 10:48:41 WARN pig.Main: There is no log file to write to. > 15/06/10 10:48:41 ERROR pig.Main: java.lang.RuntimeException: ERROR: > Unrecognized exectype. > > me@server:/export/home/me> pig -version > Apache Pig version 0.12.1.2.1.11.0-891 (rexported) > compiled Feb 14 2015, 05:50:36 > > me@server:/export/home/me> hadoop version > Hadoop 2.4.0.2.1.11.0-891 > Subversion [email protected]:hortonworks/hadoop.git -r > ea77919f5324dcca97d00c24379ed13cdae75d93 > Compiled by jenkins on 2015-02-14T05:15Z > Compiled with protoc 2.5.0 > From source with checksum 5b86dd6f946cae683e6288f32dae855 > This command was run using > /usr/lib/hadoop/hadoop-common-2.4.0.2.1.11.0-891.jar > > ************************************************************ > This communication, including attachments, is for the exclusive use of > addressee and may contain proprietary, confidential and/or privileged > information. If you are not the intended recipient, any use, copying, > disclosure, dissemination or distribution is strictly prohibited. If you > are not the intended recipient, please notify the sender immediately by > return e-mail, delete this communication and destroy all copies. > ************************************************************ > -- -- Saggi Neumann Co-founder and CTO, Xplenty M: +972-544-546102
