Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> package org.apache.pig does not exist


Copy link to this message
-
Re: package org.apache.pig does not exist
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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB