pig-user  

Re: Automatically REGISTER jars

Chris Riccomini
Fri, 05 Feb 2010 11:00:03 -0800

What I want to do is register the jar WITHOUT register. That is, when I
issue my pig commandline call to start pig, it will register it at that
point rather than in my pig script.

This will save our users from all having to register 3 or 4 jars that they
always will need to use pig effectively on our Hadoop cluster.

Thanks,
Chris


On 2/5/10 10:46 AM, "Ashutosh Chauhan" <ashutosh.chau...@gmail.com> wrote:

> 'register' is your friend here
> 
> http://hadoop.apache.org/pig/docs/r0.5.0/piglatin_reference.html#REGISTER
> 
> Ashutosh
> 
> On Thu, Feb 4, 2010 at 23:25, Chris Riccomini <criccom...@linkedin.com> wrote:
>> Hi All,
>> 
>> We have a use-case where we want to automatically register certain jars for
>> command-line users. I tried using ­jar, but this switch seems to do
>> absolutely nothing.
>> 
>> How do we go about auto-registering jars using pig? Any help is much
>> appreciated.
>> 
>> Thanks in advance!
>> Chris
>>