Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
Registering *.jar
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;