You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Shad Sharma (JIRA)" <ji...@apache.org> on 2014/09/23 05:04:33 UTC
[jira] [Updated] (PIG-4194) ReadToEndLoader does not call setConf
on pigSplit in initializeReader
[ https://issues.apache.org/jira/browse/PIG-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shad Sharma updated PIG-4194:
-----------------------------
Labels: easyfix patch (was: )
Status: Patch Available (was: Open)
Here's the patch with included unit test to verify that downstream readers will have access to a non-null conf object from the pigSplit.
> ReadToEndLoader does not call setConf on pigSplit in initializeReader
> ---------------------------------------------------------------------
>
> Key: PIG-4194
> URL: https://issues.apache.org/jira/browse/PIG-4194
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.12.0
> Reporter: Shad Sharma
> Priority: Trivial
> Labels: easyfix, patch
>
> When using ReadToEndLoader to wrap a LoadFunc, if the LoadFunc uses the conf object in the prepareToRead() method, the conf object will be null because ReadToEndLoader does not call setConf on the pigSplit in initializeReader().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)