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 Plain View
Pig >> mail # user >> Registering *.jar


+
Mohit Anchlia 2012-05-16, 23:51
+
Prashant Kommireddi 2012-05-16, 23:58
+
Mohit Anchlia 2012-05-17, 00:04
+
Prashant Kommireddi 2012-05-17, 00:16
+
Russell Jurney 2012-05-17, 00:30
+
Alan Gates 2012-05-17, 00:34
+
Prashant Kommireddi 2012-05-17, 01:00
+
Raghu Angadi 2012-05-18, 07:42
Copy link to this message
-
Re: Registering *.jar
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;
>
+
Prashant Kommireddi 2012-05-17, 00:07
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