Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A54EDE84 for ; Tue, 21 Aug 2012 17:18:39 +0000 (UTC) Received: (qmail 33484 invoked by uid 500); 21 Aug 2012 17:18:39 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 33385 invoked by uid 500); 21 Aug 2012 17:18:39 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 33239 invoked by uid 99); 21 Aug 2012 17:18:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2012 17:18:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 36F792C5C0E for ; Tue, 21 Aug 2012 17:18:38 +0000 (UTC) Date: Wed, 22 Aug 2012 04:18:38 +1100 (NCT) From: "Trevor Robinson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <548126786.36206.1345569518225.JavaMail.jiratomcat@arcas> In-Reply-To: <387396578.32388.1345501357974.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-8713) TestRPCCompatibility fails intermittently with JDK7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438875#comment-13438875 ] Trevor Robinson commented on HADOOP-8713: ----------------------------------------- Sure, I guess it's better to start with a known condition. > 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 > Labels: java7 > Attachments: HADOOP-8713.patch, HADOOP-8713.patch > > > 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