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

TestWritableName fails with Open JDK 7

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1.2.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestWritableName.testAddName fails due to a test order execution dependency on testSetName.

      java.io.IOException: WritableName can't load class: mystring
      at org.apache.hadoop.io.WritableName.getClass(WritableName.java:73)
      at org.apache.hadoop.io.TestWritableName.testAddName(TestWritableName.java:92)
      Caused by: java.lang.ClassNotFoundException: mystring
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:264)
      at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:820)
      at org.apache.hadoop.io.WritableName.getClass(WritableName.java:71)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arpitagarwal Arpit Agarwal
                Reporter:
                arpitagarwal Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: