Thanks Jeff for quick solution . Now I am getting error as below : <line 5, column 33> Failed to generate logical plan. Nested exception: org.apache.pig.backend.executionengine.ExecException: ERROR 1070: Could not resolve com.pig.udf.PigUDF using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Where PigUDF is my UDF class . Thanks, On 10 July 2015 at 14:03, Jianfeng (Jeff) Zhang <[email protected]> wrote: > > You can use pig¹s java API to debug your script in eclipse. > Here¹s one simple example. > > public static void main(String[] args) throws IOException { > PigServer pig = new PigServer(ExecType.LOCAL); > pig.registerScript("myscript.pig"); > } > > > > > Best Regard, > Jeff Zhang > > > > > > On 7/9/15, 7:50 PM, "Divya Gehlot" <[email protected]> wrote: > > >Hi, > >I am new to pig . > >Can somebody help me setting he debug mode in eclipse in easy steps. > >Would really appreciate the help. > > > >Thanks > >
