You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2013/01/02 23:28:12 UTC

[jira] [Commented] (HADOOP-9175) TestWritableName fails on Windows with Open JDK 7

    [ https://issues.apache.org/jira/browse/HADOOP-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542492#comment-13542492 ] 

Brandon Li commented on HADOOP-9175:
------------------------------------

+1. The patch looks good.
                
> TestWritableName fails on Windows with Open JDK 7
> -------------------------------------------------
>
>                 Key: HADOOP-9175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9175
>             Project: Hadoop Common
>          Issue Type: Test
>    Affects Versions: 1-win
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HADOOP-9175.patch
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira