Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig, mail # user - package org.apache.pig does not exist


Copy link to this message
-
package org.apache.pig does not exist
Mix Nin 2013-03-11, 18:30
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
+
Johnny Zhang 2013-03-11, 18:35