[
https://issues.apache.org/jira/browse/PIG-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aniket Mokashi resolved PIG-2819.
---------------------------------
Resolution: Duplicate
Fix Version/s: 0.13.0
> 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
> Assignee: Aniket Mokashi
> Fix For: 0.13.0
>
>
> {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 was sent by Atlassian JIRA
(v6.2#6252)