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 >> debugging parameters passed to pig script


+
Pallavi Palleti 2009-06-02, 04:44
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
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