You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2011/01/19 19:50:45 UTC
[jira] Commented: (PIG-1811) Provide a way to access properties
defined in properties file in front end
[ 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.