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

TestWritableName fails with Open JDK 7

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1-win
    • 1.2.0
    • test
    • None
    • 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

        1. HADOOP-9175.patch
          2 kB
          Arpit Agarwal

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment