Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 D0F6110898 for ; Wed, 30 Oct 2013 11:02:47 +0000 (UTC) Received: (qmail 58669 invoked by uid 500); 30 Oct 2013 11:02:32 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 58400 invoked by uid 500); 30 Oct 2013 11:02:31 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 58083 invoked by uid 99); 30 Oct 2013 11:02:30 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Oct 2013 11:02:30 +0000 Date: Wed, 30 Oct 2013 11:02:30 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-5598) TestUserDefinedCounters.testMapReduceJob is flakey 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/MAPREDUCE-5598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808966#comment-13808966 ] Hudson commented on MAPREDUCE-5598: ----------------------------------- SUCCESS: Integrated in Hadoop-Yarn-trunk #378 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/378/]) MAPREDUCE-5598. TestUserDefinedCounters.testMapReduceJob is flakey. Contributed by Robert Kanter (jlowe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1536724) * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestUserDefinedCounters.java > TestUserDefinedCounters.testMapReduceJob is flakey > -------------------------------------------------- > > Key: MAPREDUCE-5598 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5598 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test > Affects Versions: trunk, 2.2.0 > Reporter: Robert Kanter > Assignee: Robert Kanter > Fix For: 3.0.0, 2.3.0, 2.2.1 > > Attachments: MAPREDUCE-5598.patch, MAPREDUCE-5598.patch > > > {{TestUserDefinedCounters.testMapReduceJob}} is flakey. > We sometimes see it fail: > {noformat} > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:48) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertTrue(Assert.java:27) > at org.apache.hadoop.mapred.TestUserDefinedCounters.testMapReduceJob(TestUserDefinedCounters.java:113) > {noformat} > Upon investigation, the problem is that the input for the MR job in this test is at {{System.getProperty("test.build.data", "/tmp") + "/input"}}. If an earlier test wrote some files there, this test will use them as part of its input. This can cause all sorts of problems with this test because its not expecting the additional input data. -- This message was sent by Atlassian JIRA (v6.1#6144)