Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major 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)

      1. HADOOP-9175.patch
        2 kB
        Arpit Agarwal

        Issue Links

          Activity

          Hide
          Arpit Agarwal added a comment -

          Fixed dependency by merging the two test cases into a single one.

          Show
          Arpit Agarwal added a comment - Fixed dependency by merging the two test cases into a single one.
          Hide
          Brandon Li added a comment -

          +1. The patch looks good.

          Show
          Brandon Li added a comment - +1. The patch looks good.
          Hide
          Suresh Srinivas added a comment -

          Related jira in trunk HADOOP-8697. Also this does not seem Windows specific, so updating the Summary accordingly.

          Show
          Suresh Srinivas added a comment - Related jira in trunk HADOOP-8697 . Also this does not seem Windows specific, so updating the Summary accordingly.
          Hide
          Suresh Srinivas added a comment -

          +1 for the patch. Committed to branch-1.

          Thank you Arpit.

          Show
          Suresh Srinivas added a comment - +1 for the patch. Committed to branch-1. Thank you Arpit.
          Hide
          Matt Foley added a comment -

          Closed upon release of Hadoop 1.2.0.

          Show
          Matt Foley added a comment - Closed upon release of Hadoop 1.2.0.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development