I just tried the example from the pig udf manual step by step. But I got the
error information. Can anyone tell me how to solve it?
grunt> REGISTER /home/huyong/test/myudfs.jar;
grunt> A = LOAD '/home/huyong/test/student.txt' as (name:chararray);
grunt> B = FOREACH A GENERATE myudfs.UPPER(name);
2011-06-18 11:15:38,892 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 1070: Could not resolve myudfs.UPPER using imports: [,
Details at logfile: /home/huyong/test/pig_1308388238352.log
I have already registered the udf, why pig tries to search from the builtin
Thanks for your help!