pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-2819) ObjectSerializer should support classloader
Date Mon, 16 Jul 2012 22:58:35 GMT
Raghu Angadi created PIG-2819:

             Summary: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message