http://blog.cloudera.com/blog/2014/09/pig-is-flying-apache-pig-on-apache-spark/
Hope this helps Thanks, Divya On 21 December 2016 at 11:13, canan chen <ccn...@gmail.com> wrote: > I try to run pig on spark. But hit the following error. Could anyone help > me on that ? And BTW where can I find document about how to use pig on > spark. > > > 16/12/21 11:11:44 ERROR pig.Main: org.apache.pig.PigException: ERROR 2040: > Unknown exec type: SPARK > at org.apache.pig.ExecTypeProvider.selectExecType( > ExecTypeProvider.java:50) > at org.apache.pig.impl.PigContext.<init>(PigContext.java:251) > at org.apache.pig.Main.run(Main.java:390) > at org.apache.pig.Main.main(Main.java:176) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) >