Merged join/cogroup does not automatically ship loader
------------------------------------------------------

                 Key: PIG-2030
                 URL: https://issues.apache.org/jira/browse/PIG-2030
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: 0.9.0
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.9.0
         Attachments: PIG-2030-1.patch

The following script fail due to TableLoader class not found (If the jar is in 
classpath):
{code}
a = load '/user/pig/tests/data/zebra/singlefile/studentsortedtab10k' using 
org.apache.hadoop.zebra.pig.TableLoader('', 'sorted');
b = load '/user/pig/tests/data/zebra/singlefile/votersortedtab10k' using 
org.apache.hadoop.zebra.pig.TableLoader('', 'sorted');
g = cogroup a by $0, b by $0 using 'merge';
store g into '/user/pig/out/jianyong.1304374720/ZebraMapCogrp_1.out';
{code}

If we use register, the error goes away. However, Pig always ship jars 
containing LoadFunc automatically. It should be the same for merged 
cogroup/join.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to