[ https://issues.apache.org/jira/browse/PIG-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983833#action_12983833 ]
Ashutosh Chauhan commented on PIG-1811: --------------------------------------- Reason is at the time Pig calls setPartitionKeys() on Loader, UDFContext only contains System.getProperties() and Pig hasn't populated it with the ones loaded from properties file. > Provide a way to access properties defined in properties file in front end > -------------------------------------------------------------------------- > > Key: PIG-1811 > URL: https://issues.apache.org/jira/browse/PIG-1811 > Project: Pig > Issue Type: Improvement > Components: impl > Affects Versions: 0.8.0 > Reporter: Ashutosh Chauhan > Priority: Minor > Fix For: 0.9.0 > > > If I have properties defined in a properties-file and pass it to pig using > pig -P pig.properties, these properties aren't accessible in front end (e.g. > in MyLoader.setPartitionKeys() ) when I try to access it through > UDFContext.getUDFContext().getClientSystemProps().getProperty("myprop") -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.