I am using absolute path only. When I run remotely on the cluster, it says no class found.
On Mon, Dec 12, 2011 at 11:30 AM, Jameson Lopp <[email protected]> wrote: > Have you tried using an absolute path when referencing your UDF jar as > opposed to that relative path? > > -- > Jameson Lopp > Software Engineer > Bronto Software, Inc > > > On 12/12/2011 10:56 AM, Gayatri Rao wrote: > >> Hi all, >> >> I have a strange problem running pig using one of my own UDFs (in java). >> My >> java UDF calls a one of my util methods which is also part of the same UDF >> jar. >> Now, I try to run in local mode, it works and when I run it remotely on >> the >> cluster, I get an error sayign that my util method doesnt exit. It says No >> such method found error. >> Any idea what I might be doing wrong? >> >> I have registered my jar in the following way. >> >> REGISTER myUDF.jar >> >> Thanks >> Gayatri >> >> raw = LOAD '$input' using myLoader(); >> >
