[ https://issues.apache.org/jira/browse/PIG-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Kamath updated PIG-1372: -------------------------------- Attachment: PIG-1372.patch Attached patch restores PigInputFormat.sJob - however it is deprecated (and so also PigMapReduce.sJobConf for user code) and the javadoc comment indicates to use UDFContext.getUDFContext().getJobConf() instead. No tests are included since this simply restores a static variable for backward compatibility and is not used in pig code. > Restore PigInputFormat.sJob for backward compatibility > ------------------------------------------------------ > > Key: PIG-1372 > URL: https://issues.apache.org/jira/browse/PIG-1372 > Project: Pig > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Pradeep Kamath > Assignee: Pradeep Kamath > Fix For: 0.7.0 > > Attachments: PIG-1372.patch > > > The preferred method to get the job's Configuration object would be to use > UDFContext.getJobConf(). This jira is to restore PigInputFormat.sJob (but we > will be marking it deprecated and indicating to use UDFContext.getJobConf() > instead) to be backward compatible - we can remove it from pig in a future > release. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira