If you do register, then registered jar will use. Otherwise, Pig will find container jar in classpath. Check which jar comes first in classpath (if you use bin/pig, use bin/pig -secretDebugCmd to find out).
Daniel On Sun, Jul 3, 2011 at 8:51 PM, Jameson Li <[email protected]> wrote: > How about the pig jar lib path? > Sometime after building my UDF, I register the new udf jar, but I had > forgot > the old udf jar remain in the $PIG_HOME/lib/, and when the pig code used > the > UDF class, and it will use the classes compiled in the old udf rather than > the new one. > Maybe your troublesome is related this? > > 2011/7/1 Marian Condurache <[email protected]> > > > ORE f1filter INTO '/user/mojo/output/testData' using PigStorage(','); >
