- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
piggybank
Created on ‎02-19-2015 03:20 AM - edited ‎09-16-2022 02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey guys,
does cloudera packs piggy UDF into the CDH? I tried to find in the distribution anything called piggybank, but was not succesfull.
Can somebody advice me how to add the piggybank UDFs into the existing pig installation in CDH?
https://cwiki.apache.org/confluence/display/PIG/PiggyBank
Thanks.
Tomas
Created ‎02-19-2015 03:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the piggybank.jar in /opt/cloudera/parcels/CDH/lib/pig/.
The problem was in fact that when I called register piggybank, the grunt shell gave me this exception:
grunt> REGISTER piggybank.jar 2015-02-19 12:38:49,841 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS
2015-02-19 12:38:49,849 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 101: file 'piggybank.jar' does not exist.
after changing the directory into the lib path the register worked well..
or use:
REGISTER /opt/cloudera/parcels/CDH/lib/pig/piggybank.jar
Tomas
Created ‎02-19-2015 03:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the piggybank.jar in /opt/cloudera/parcels/CDH/lib/pig/.
The problem was in fact that when I called register piggybank, the grunt shell gave me this exception:
grunt> REGISTER piggybank.jar 2015-02-19 12:38:49,841 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS
2015-02-19 12:38:49,849 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 101: file 'piggybank.jar' does not exist.
after changing the directory into the lib path the register worked well..
or use:
REGISTER /opt/cloudera/parcels/CDH/lib/pig/piggybank.jar
Tomas
