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 <[email protected]> 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 >
