Grokbase Groups Pig user March 2010
Hi Tamir,

I cannot send the reply from your thread (always receive failed delivered
message from google), so I reply to you in this thread.

The register command will cause the udf jar been packaged with pig.jar, and
the resulted jar is the mapredue job jar. If you do not want to been
bothered to register the udf jar every time, maybe one solution is that you
can upload the external jar to hdfs first, and then make configuration on
mapred-site.xml or under the conf folder. Because the method
DistributedCache.addFileToClassPath do nothing except setting some
configuration of the external library. The the following is the
configuration sample:



I have tried this method, it works.

Best Regards

Jeff Zhang

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedMar 11, '10 at 2:16a
activeMar 11, '10 at 2:16a

1 user in discussion

Jeff Zhang: 1 post



site design / logo © 2021 Grokbase