Thanks, Daneil. It works!

On Fri, Jun 17, 2011 at 2:36 PM, Daniel Eklund <[email protected]> wrote:

> you need to set your PIG_CLASSPATH to point to the jython.jar
>
> On Fri, Jun 17, 2011 at 3:25 PM, Bing Wei <[email protected]> wrote:
>
> > Hi, I tried to use python udf in pig, but get the error 'Could not
> > initialize class org.apache.pig.scripting.jython.JythonScriptEngine
> > $Interpreter'.
> >
> > I register jython.jar in my pig script as follows:
> > register /home/bing/software/jython/jython.jar
> >
> > I also add jython.jar into CLASSPATH.
> >
> > What did I miss here?
> >
> > --
> > Bing
> >
> > @BingW11
> > Software Engineer@Twitter
> >
>



-- 
Bing

@BingW11
Software Engineer@Twitter

Reply via email to