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

Switch to Threaded View
Pig >> mail # user >> debugging parameters passed to pig script


Copy link to this message
-
RE: debugging parameters passed to pig script
Hi Pallavi,
 One way of doing this is through a dry run, with your pig script using
the "-r" option.
This will produce a file "yourscript.pig.substituted" file which you can
later open to find out the substituted parameters.
Thanks Viraj

-----Original Message-----
From: Pallavi Palleti [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 01, 2009 9:45 PM
To: [EMAIL PROTECTED]
Subject: debugging parameters passed to pig script

Hi all,

 Is there a way to print parameters(similar to echo in bash script) that
are passed to pig script for debugging purposes? Especially the ones
that we declare in the beginning of the script using "%declare".

Thanks
Pallavi