Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
01-30-2014
09:43 AM
- last edited on
04-21-2026
07:02 AM
by
GrazittiAPI
What is the best way to register a jar containing UDF's ( Hue Pig Editor)
My jar is in HDFS @ /user/xxx/applications/fpds9/lib/dsx-core.jar;
REGISTER /user/xxx/applications/fpds9/lib/dsx-core.jar;
Running my pig script via the Pig Editor in Hue throws an error as it cannot find my UDF in the classpath.
Created 01-30-2014 10:09 AM
I figured out a way to do it, right after posting. Added a resource as a file type to my jar and registered the jar in the script as usual.
Created 01-30-2014 10:11 AM
Glad to hear!
Posting since I started replying:
Hue needs to package the jar: http://gethue.tumblr.com/post/64707633719/hadoop-tutorial-use-pig-and-hive-with-hbase
Created 01-30-2014 10:09 AM
I figured out a way to do it, right after posting. Added a resource as a file type to my jar and registered the jar in the script as usual.
Created 01-30-2014 10:11 AM
Glad to hear!
Posting since I started replying:
Hue needs to package the jar: http://gethue.tumblr.com/post/64707633719/hadoop-tutorial-use-pig-and-hive-with-hbase