-Re: Registering *.jar
Prashant Kommireddi 2012-05-17, 00:07
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/
> 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
>>> 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;