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 "Trevor Robinson (JIRA)" <ji...@apache.org> on 2012/08/14 02:57:38 UTC

[jira] [Updated] (HADOOP-8697) TestWritableName fails intermittently with JDK7

     [ https://issues.apache.org/jira/browse/HADOOP-8697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Robinson updated HADOOP-8697:
------------------------------------

    Attachment: HADOOP-8697.patch

Remove dependency of {{testAddName}} on {{testSetName}} running first by explicitly calling {{WritableName.setName}}.
                
> TestWritableName fails intermittently with JDK7
> -----------------------------------------------
>
>                 Key: HADOOP-8697
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8697
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-25-generic", arch: "amd64", family: "unix"
>            Reporter: Trevor Robinson
>         Attachments: HADOOP-8697.patch
>
>
> On JDK7, {{testAddName}} can run before {{testSetName}}, which causes it to fail with:
> {noformat}
> testAddName(org.apache.hadoop.io.TestWritableName): WritableName can't load class: mystring
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira