Home | About | Sematext search-lucene.com search-hadoop.com
 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
Olga Natkovich 2010-10-07, 20:27
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