Hi Aniket, We put both jython.jar and myudf.py in classpath and also register jython.jar in our pig script. It worked well before the upgrading, only failed after.
Regards, Shawn On Thu, Mar 31, 2011 at 4:38 PM, Aniket Mokashi <[email protected]> wrote: > I think this might be because when you start in hadoop mode, your > classpath configuration does not have jython.jar. Can you put that > explicitly in classpath and check it out? > > Thanks, > Aniket > > On Thu, March 31, 2011 6:07 pm, Xiaomeng Wan wrote: >> Hi, >> We recently updated our hadoop from CDH2 to CDH3b4, and had problems >> using some old python udfs. Runing in local mode still works, but in hadoop >> mode, it gives errors like "could not instantiate >> 'org.apache.pig.scripting.jython.JythonFunction' with arguments...". >> Anyone see similar error with python udf on this hadoop distribution? >> We are using pig 0.8.0. Thanks! >> >> >> Regards >> Shawn >> >> >> > > >
