|
|
-
Re: package org.apache.pig does not existJohnny Zhang 2013-03-11, 18:35
Hi, Mix:
Can you try to add pig-0.10-withoughadoop.jar into your classpath ? Johnny On Mon, Mar 11, 2013 at 11:30 AM, Mix Nin <[EMAIL PROTECTED]> wrote: > I am writing an UDF funtion as follows > > import java.io.IOException; > import org.apache.pig.EvalFunc; > import org.apache.pig.backend.executionengine.ExecException; > import org.apache.pig.data.BagFactory; > import org.apache.pig.data.DataBag; > > > public class Average extends EvalFunc<DataBag> > { > public DataBag exec { } > > > } > > > when I compile the java file , the first error I see is > > "package org.apache.pig does not exist" along with other errors > > What should I do here > |