[ https://issues.apache.org/jira/browse/PIG-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870970#action_12870970 ]
V.V.Chaitanya Krishna commented on PIG-1381: -------------------------------------------- bq. I think value of "perpertyFile" perperty is not OPTIONAL, should change it to REQUIRED If the option is made mandatory for the user, then the following scenarios might occur: # User who want to run just with the default properties and does not need any properties to be set will still be forced to submit a blank properties file. # If this is made mandatory, then the presence of pig.properties might not make much sense. I believe this option should be an alternative to pig.properties in user providing properties. Ideally, I think users should be able to work without submitting their own set of properties. > Need a way for Pig to take an alternative property file > ------------------------------------------------------- > > Key: PIG-1381 > URL: https://issues.apache.org/jira/browse/PIG-1381 > Project: Pig > Issue Type: Improvement > Components: impl > Affects Versions: 0.7.0 > Reporter: Daniel Dai > Assignee: V.V.Chaitanya Krishna > Fix For: 0.8.0 > > Attachments: PIG-1381-1.patch, PIG-1381-2.patch, PIG-1381-3.patch, > PIG-1381-4.patch, PIG-1381-5.patch, PIG-1381_cli_1.patch > > > Currently, Pig read the first ever pig.properties in CLASSPATH. Pig has a > default pig.properties and if user have a different pig.properties, there > will be a conflict since we can only read one. There are couple of ways to > solve it: > 1. Give a command line option for user to pass an additional property file > 2. Change the name for default pig.properties to pig-default.properties, and > user can give a pig.properties to override > 3. Further, can we consider to use pig-default.xml/pig-site.xml, which seems > to be more natural for hadoop community. If so, we shall provide backward > compatibility to also read pig.properties, pig-cluster-hadoop-site.xml. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.