You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Trevor Robinson (JIRA)" <ji...@apache.org> on 2012/08/21 00:22:37 UTC

[jira] [Created] (HADOOP-8713) TestRPCCompatibility fails intermittently with JDK7

Trevor Robinson created HADOOP-8713:
---------------------------------------

             Summary: TestRPCCompatibility fails intermittently with JDK7
                 Key: HADOOP-8713
                 URL: https://issues.apache.org/jira/browse/HADOOP-8713
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 2.2.0-alpha
         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
            Assignee: Trevor Robinson


TestRPCCompatibility can fail intermittently with errors like the following when tests are not run in declaration order:

{noformat}
testVersion2ClientVersion1Server(org.apache.hadoop.ipc.TestRPCCompatibility): expected:<3> but was:<-3>
{noformat}

Moving the reset of the ProtocolSignature cache from ad-hoc usage in testVersion2ClientVersion2Server to tearDown fixes the issue.

--
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