You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris K Wensel (JIRA)" <ji...@apache.org> on 2008/10/21 00:34:44 UTC

[jira] Updated: (HADOOP-4467) SerializationFactory should use current context ClassLoader

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

Chris K Wensel updated HADOOP-4467:
-----------------------------------

          Description: 
SerializationFactory#add calls Class.forName without a ClassLoader instance. This prevents user-space Serialization classes from being loaded.

The resulting ClassNotFoundException is eaten after being logged, and a NPE is thrown further down the line when a Serializer is requested.
    Affects Version/s: 0.18.1
              Summary: SerializationFactory should use current context ClassLoader  (was: SerializationFactory should use current contextClassLoader)

> SerializationFactory should use current context ClassLoader
> -----------------------------------------------------------
>
>                 Key: HADOOP-4467
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4467
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.18.1
>            Reporter: Chris K Wensel
>
> SerializationFactory#add calls Class.forName without a ClassLoader instance. This prevents user-space Serialization classes from being loaded.
> The resulting ClassNotFoundException is eaten after being logged, and a NPE is thrown further down the line when a Serializer is requested.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.