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 E9781D9D9 for ; Fri, 17 Aug 2012 21:58:38 +0000 (UTC) Received: (qmail 83510 invoked by uid 500); 17 Aug 2012 21:58:38 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 83451 invoked by uid 500); 17 Aug 2012 21:58:38 -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 83440 invoked by uid 99); 17 Aug 2012 21:58:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 21:58:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 108E02C5BE3 for ; Fri, 17 Aug 2012 21:58:38 +0000 (UTC) Date: Sat, 18 Aug 2012 08:58:38 +1100 (NCT) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <164880014.25393.1345240718068.JavaMail.jiratomcat@arcas> In-Reply-To: <652618381.5219.1344903220023.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-8695) TestPathData 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-8695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437098#comment-13437098 ] Hudson commented on HADOOP-8695: -------------------------------- Integrated in Hadoop-Common-trunk-Commit #2600 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2600/]) HADOOP-8695. TestPathData fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374447) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374447 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestPathData.java > TestPathData fails intermittently with JDK7 > ------------------------------------------- > > Key: HADOOP-8695 > URL: https://issues.apache.org/jira/browse/HADOOP-8695 > Project: Hadoop Common > Issue Type: Bug > Components: test > Affects Versions: 0.23.3, 3.0.0, 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 > Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha > > Attachments: HADOOP-8695-2.patch, HADOOP-8695.patch > > > Failed tests: testWithDirStringAndConf(org.apache.hadoop.fs.shell.TestPathData): checking exist > testToFile(org.apache.hadoop.fs.shell.TestPathData): expected: but was: > {{testWithStringAndConfForBuggyPath}} (which is declared last and therefore runs last with JDK6) overwrites the static variable {{testDir}} with {{file:///tmp}}. With JDK7, test methods run in an undefined order, and the other tests will fail if run after this one. -- 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