[ 
https://issues.apache.org/jira/browse/PIG-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443632#comment-13443632
 ] 

Aniket Mokashi commented on PIG-2819:
-------------------------------------

I discussed this briefly with Julien during the hackathon. This is useful for 
HCatLoader(ish) use case-(deserializing InputJobInfo). Do you guys have a patch 
for this?
                
> ObjectSerializer should support classloader
> -------------------------------------------
>
>                 Key: PIG-2819
>                 URL: https://issues.apache.org/jira/browse/PIG-2819
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>            Reporter: Raghu Angadi
>
> {ObjectSerializer} is pretty useful and could be used by UDF and other user 
> code.
> Currently its limitation is that the class that is being deserialized should 
> be visible to root class loader (ie. should be part of CLASSPATH on the front 
> end). The registered jars are not visibile. This is because 
> {{java.io.ObjectInputStream}} used to deserialize is from the root 
> classloader.
> ObjectSerializer should support another method {{deserialize(str, 
> ClassLoader)}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to