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 > > >
