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

          Arpit Agarwal created issue -
          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.
          Arpit Agarwal made changes -
          Field Original Value New Value
          Attachment HADOOP-9175.patch [ 12562981 ]
          Hide
          Brandon Li added a comment -

          +1. The patch looks good.

          Show
          Brandon Li added a comment - +1. The patch looks good.
          Suresh Srinivas made changes -
          Link This issue is related to HADOOP-8697 [ HADOOP-8697 ]
          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.
          Suresh Srinivas made changes -
          Summary TestWritableName fails on Windows with Open JDK 7 TestWritableName fails with Open JDK 7
          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.
          Suresh Srinivas made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 1-win [ 12320361 ]
          Fix Version/s 1.2.0 [ 12321659 ]
          Resolution Fixed [ 1 ]
          Suresh Srinivas made changes -
          Component/s test [ 12311440 ]
          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.
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          1h 5m 1 Suresh Srinivas 02/Jan/13 23:16
          Resolved Resolved Closed Closed
          132d 5h 59m 1 Matt Foley 15/May/13 06:16

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development