[ https://issues.apache.org/jira/browse/PIG-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020065#comment-13020065 ]
Richard Ding commented on PIG-1811: ----------------------------------- As Ashutosh commented that UDF has access to Job configuration (via UDFContext) in back-end and, in front-end, Job configuration is accessible in all methods of LoadFunc/StoreFunc (and InputFormat/OutputFormat). I'm going to close this jira. We will open new jiras if new use cases come up in the future. > 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.7.0 > Reporter: Ashutosh Chauhan > Assignee: Richard Ding > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira