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