hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-325) ClassNotFoundException under jvm 1.6
Date Tue, 27 Jun 2006 06:01:30 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-325?page=all ]

Owen O'Malley updated HADOOP-325:

    Attachment: class-load-init.patch

This patch uses the required classloader, but makes sure the class is initialized.

I found and removed the object creation blocks from the 4 servers, but if there are others
hiding somewhere, please let me know.

> ClassNotFoundException under jvm 1.6
> ------------------------------------
>          Key: HADOOP-325
>          URL: http://issues.apache.org/jira/browse/HADOOP-325
>      Project: Hadoop
>         Type: Bug

>   Components: ipc
>     Versions: 0.3.2
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.4.0
>  Attachments: class-load-init.patch
> We have been having problems with classes that are returned by RPC methods not being
loaded/initialized correctly. The work around has been to put in the servers, code of the
> static { new FooBar(); }  // to resolve the ClassNotFoundException for class FooBar.
> When I tried running under java 1.6, that stopped working because one of the classes
had to be instantiated from a package that didn't have visibility to create an instance. So
I tracked the problem down to how the classes were being loaded via reflection.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message