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; >>
