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

[jira] [Resolved] (PIG-3986) PigSplit to support multiple split class

     [ https://issues.apache.org/jira/browse/PIG-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheolsoo Park resolved PIG-3986.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0

+1. All unit test pass.

Committed {{PIG-3986-2.patch}} into trunk.

> PigSplit to support multiple split class
> ----------------------------------------
>
>                 Key: PIG-3986
>                 URL: https://issues.apache.org/jira/browse/PIG-3986
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Tongjie Chen
>            Assignee: Tongjie Chen
>             Fix For: 0.14.0
>
>         Attachments: PIG-3986-2.patch, PIG-3986.patch.txt
>
>
> Currently one PigSplit wraps one to many input split and pig assign one PigSplit to one mapper; however when it serializes the split class name, it expects all input split to be of same class, hence it serializes class name only once --- the first split (see code snippet at the end).
> To support PigSplit wrap multi split class, we can serialize each split along with its own class name.    This would allow each split to be deserialized/restored correctly.  Of course, LoadFunc would need to dispatch input split to appropriate record reader.



--
This message was sent by Atlassian JIRA
(v6.2#6252)