Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-325

ClassNotFoundException under jvm 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.2
    • 0.4.0
    • ipc
    • None

    Description

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

      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.

      Attachments

        1. class-load-init.patch
          6 kB
          Owen O'Malley

        Activity

          People

            omalley Owen O'Malley
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: