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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/09/12 19:30:23 UTC

[jira] Assigned: (HADOOP-521) classloader problem for clients

     [ http://issues.apache.org/jira/browse/HADOOP-521?page=all ]

Owen O'Malley reassigned HADOOP-521:
------------------------------------

    Assignee: Owen O'Malley

> classloader problem for clients
> -------------------------------
>
>                 Key: HADOOP-521
>                 URL: http://issues.apache.org/jira/browse/HADOOP-521
>             Project: Hadoop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.6.0
>            Reporter: Christian Kunz
>         Assigned To: Owen O'Malley
>
> HADOOP-419 bit again, after updating with hadoop-0.6.0. Although resolved, there was one instance left in io.ObjectWritable.java still using Thread.currentThread().getContextClassLoader() instead of conf.getClassByName()
> I got exceptions like:
> java.lang.RuntimeException: readObject can't find class
>         at org.apache.hadoop.io.ObjectWritable.readObject(ObjectWritable.java:223)
>         at org.apache.hadoop.io.ObjectWritable.readFields(ObjectWritable.java:59)
>         at org.apache.hadoop.ipc.Client$Connection.run(Client.java:256)
> Caused by: java.lang.ClassNotFoundException: org/apache/hadoop/io/ObjectWritable$NullInstance
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at org.apache.hadoop.io.ObjectWritable.readObject(ObjectWritable.java:219)
>         ... 2 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira