[ https://issues.apache.org/jira/browse/PIG-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029093#comment-13029093 ]
Daniel Dai commented on PIG-2040: --------------------------------- bq. I remember a user trying to parse schemas using the Util.parseFromString() method in an UDF. This might require shipping the antlr binaries to the back-end. Will this patch address this issue too? No, it will not. Seems we need to ship antlr.jar as well. But still put classloader into PigContext is more clear. Also I wonder how Util.parseFromString() works now? We don't ship javacc as well. > Move classloader from QueryParserDriver to PigContext > ----------------------------------------------------- > > Key: PIG-2040 > URL: https://issues.apache.org/jira/browse/PIG-2040 > 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-2040-1.patch > > > After PIG-1775, mapreduce mode fail. The reason is we move classloader from > LogicalPlanBuilder to QueryParserDriver, which will need antlr.jar, however, > we don't ship antlr.jar to backend. It is better to move classloader to > PigContext. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira