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 >> Passing parameters to Pig Script using Java


Copy link to this message
-
RE: Passing parameters to Pig Script using Java
Not at this point as parameter substitution is implemented a s preprocessor on the script.

Olga

-----Original Message-----
From: rakesh kothari [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 07, 2010 11:47 AM
To: [EMAIL PROTECTED]
Subject: Passing parameters to Pig Script using Java
Hi,

I have a pig script that needs certain parameters (passed using "-p" in pig shell) to execute. Is there a way to pass these parameters if I want to execute this script using "PigServer" after registering the script using PigServer.registerScript() ?

Thanks,
-Rakesh
     
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