[
https://issues.apache.org/jira/browse/PIG-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031358#comment-13031358
]
Ashutosh Chauhan commented on PIG-2030:
---------------------------------------
+1.
For documentation purposes: After this user need not to register their jars
(for loadfuncs/udfs) if they are already in the classpath. But if they have
some dependency on which their supplied loadfuncs/udfs depend, they need to
register that dependecy. Else, they can bundle all their dependencies in one
jar and put it in the classpath.
> 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, PIG-2030-2.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