Description
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