[
https://issues.apache.org/jira/browse/PIG-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787668#action_12787668
]
Daniel Dai commented on PIG-1133:
---------------------------------
The interesting thing is UDFContext is always available to SliceWrapper in
MiniCluster and local mode. Only in real cluster, we cannot get correct
UDFContext setup. I guess MiniCluster and real cluster use different context
when invoking SliceWrapper. That's why I do not put unit test because none unit
test can simulate the real cluster situation.
> UDFContext should be made available to LoadFunc.bindTo
> ------------------------------------------------------
>
> Key: PIG-1133
> URL: https://issues.apache.org/jira/browse/PIG-1133
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.4.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.6.0
>
> Attachments: PIG-1133-1.patch
>
>
> Currently UDFContext is available at frontend, map and reduce. However,
> LoadFunc.bindTo will be called on InputFormat.getSplits, which is on a
> different context then the ones mentioned before. UDFContext should be
> available in that context as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.