Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Registering *.jar


Copy link to this message
-
Re: Registering *.jar
I think 0.10 already supports globbing.

Sent from my iPhone

On May 16, 2012, at 5:05 PM, Ashutosh Chauhan <[EMAIL PROTECTED]> wrote:

> This I think is a useful feature to have. Another possibility is to let
> user specify dir name and then add all the jars in that directory.
>
> register /home/hadoop/pigtest/
>
> Ashutosh
>
> On Wed, May 16, 2012 at 4:58 PM, Prashant Kommireddi <[EMAIL PROTECTED]>wrote:
>
>> What version are you using?
>>
>> Sent from my iPhone
>>
>> On May 16, 2012, at 4:52 PM, Mohit Anchlia <[EMAIL PROTECTED]> wrote:
>>
>>> I have something like this in pig script. But pig doesn't recognize *.jar
>>> regular expression. It seems to be looking for a file name "*.jar" Is
>> there
>>> a way to register using regular expression?
>>>
>>> SET mapred.map.tasks.speculative.execution false;
>>>
>>> %default ES_JAR_DIR '/root/elasticsearch/lib'
>>>
>>> %default INDEX 'testIdx'
>>>
>>> %default OBJ 'testType'
>>>
>>> register /home/hadoop/pigtest/*.jar;
>>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB