Sorry for my mistake, the set command in pig-latin only support two things:
debug and job.name But you only set any property in PigContext's properties.
If you look at the source code, you will find that PigContext's properties
is loaded from the pig.properties file


Jeff Zhang

-----Original Message-----
From: Jeff Zhang [mailto:[email protected]] 
Sent: 2009年12月19日 10:40
To: '[email protected]'
Subject: RE: set job specific properties

Both of the two methods is OK.


Jeff Zhang


-----Original Message-----
From: Xiaomeng Wan [mailto:[email protected]] 
Sent: 2009年12月18日 13:22
To: [email protected]
Subject: set job specific properties

Hi everyone, Is there any way I can setup job specific properties
without changing pig.properties every time? Can pig grunt "set" do
that? or I need to wrap it into java and use the setProperty() to
change PigContext's properties? Thanks!

Reply via email to