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 06:04:34 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14144291#comment-14144291 ]
Shad Sharma commented on PIG-4194:
----------------------------------
Thanks Rohini for the help. I wasn't sure about the procedure.
> 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
> Assignee: Shad Sharma
> Priority: Trivial
> Labels: easyfix, patch
> Fix For: 0.14.0
>
> Attachments: read_to_end_loader.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)