I am sorry that I have a fault. My newest jar file is in the dir /home/user/project/lib/myUDF.jar, but there has an old jar file in the pig lib dir $PIG-HOME/lib(/opt/pig/lib ). Unfortunately after registering the jar file--/home/user/project/lib/myUDF.jar, when the pig code execuded, it will first scan the UDF classes in the pig lib jar files.
2011/6/17 Daniel Dai <[email protected]> > Should not be. Pig does not cache myUDF.jar. Every run will pick myUDF.jar > again from /home/user/project/lib. >
