You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2014/09/23 06:04:34 UTC

[jira] [Resolved] (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 ]

Rohini Palaniswamy resolved PIG-4194.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0
     Hadoop Flags: Reviewed

 +1. Committed to trunk (0.14). Thanks for the patch [~shadanan]. 

Missed committing the test. But left it at that as this is a simple NPE fix and would like to keep the number of unit tests less to more important ones to keep the time to run unit tests down. 

> 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)