You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Aniket Mokashi (JIRA)" <ji...@apache.org> on 2014/03/14 07:53:42 UTC

[jira] [Assigned] (PIG-2819) ObjectSerializer should support classloader

     [ https://issues.apache.org/jira/browse/PIG-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aniket Mokashi reassigned PIG-2819:
-----------------------------------

    Assignee: Aniket Mokashi

> 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
>
> {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)