Pradeep Kamath
Fri, 29 Jan 2010 10:08:56 -0800
I haven't seen the pig.sh script, but I believe passing it on the java cmdline which launches pig (java -Dmapred.task.timeout=0 <rest of cmdline for pig>) should have the effect of passing the property to the JobConf for all hadoop jobs launched by the pig script.
Pradeep -----Original Message----- From: Dmitriy Ryaboy [mailto:dvrya...@gmail.com] Sent: Friday, January 29, 2010 9:42 AM To: pig-user@hadoop.apache.org Subject: Re: passing hadoop params to pig-0.3.1 You can set the PIG_OPTS environment variable, everything in it will be passed to the pig executable. I am not confident that it will necessarily have an effect on the hadoop jobs, since iirc that requires Pig to explicitly pass the opts on to hadoop. -D On Fri, Jan 29, 2010 at 7:25 AM, prasenjit mukherjee <prasen....@gmail.com> wrote: > I am using pig-0.3.1. Is there a way to pass hadoop params ( like > -Dmapred.task.timeout=0 ) to pig executable ? Even if its not > straightforward can I acheive that by modifying the pig.sh script > itself ? > > -Thanks, > Prasen >