Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What is the best way to register a jar containing UDF's ( Hue Pig Editor)

avatar
Explorer

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.

2 ACCEPTED SOLUTIONS

avatar
Explorer

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.

View solution in original post

avatar
Super Guru

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

 

 

View solution in original post

2 REPLIES 2

avatar
Explorer

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.

avatar
Super Guru

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