I believe you set these by passing them in on the command line, not from within 
the script.  For example add -Dmapred.create.symlink=yes to your command line 
when you call pig. 
The language itself does not have any features (yet) for passing in properties 
to the execution engine.



On Jul 20, 2010, at 11:55 AM, Kochis, Allan wrote:

> Hi
> 
> I would like to distribute cache a file of key value pairs. 
> Mridul pointed that to do this set
> 
> mapred.cached.archives=hdfs://host:port/mypath/file#link
> mapred.create.symlink=yes
> 
> My question is how do I set these in pig?
> 
> 
> Thanks,
> 
> Allan

Reply via email to