"pig.properties" here is different from "-P" option. By default, you can
load "pig.properties" by specifying the location of the same on the
classpath and THIS takes the highest precedence. Then comes -D followed by
The document says if you provide a property through all of -D, -P AND the
properties file - the properties file will take precedence.
2012/3/26 赵新刚 <[EMAIL PROTECTED]>
> In this -> http://pig.apache.org/docs/r0.9.2/start.html#properties
> The following precedence order is supported: pig.properties > -D Pig
> property > -P properties file > set command.
> This means that if the same property is provided using the �D command line
> option as well as the �P command line option and a properties file, the
> value of the property in the properties file will take precedence.
> I don’t quite understand what this meaning.
> Prefcedence order says �D is bigger than �P . why the �P will take
> This email (including any attachments) is confidential and may be legally
> privileged. If you received this email in error, please delete it
> immediately and do not copy it or use it for any purpose or disclose its
> contents to any other person. Thank you.