Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 48682 invoked from network); 20 Aug 2009 04:18:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 04:18:18 -0000 Received: (qmail 5691 invoked by uid 500); 20 Aug 2009 04:18:37 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 5572 invoked by uid 500); 20 Aug 2009 04:18:36 -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 5553 invoked by uid 99); 20 Aug 2009 04:18:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 04:18:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 04:18:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E611D29A0012 for ; Wed, 19 Aug 2009 21:18:14 -0700 (PDT) Message-ID: <1715066944.1250741894941.JavaMail.jira@brutus> Date: Wed, 19 Aug 2009 21:18:14 -0700 (PDT) From: "Amar Kamat (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Resolved: (MAPREDUCE-882) TestJobHistory fails sometimes In-Reply-To: <606792618.1250511974811.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amar Kamat resolved MAPREDUCE-882. ---------------------------------- Resolution: Duplicate The problem comes because taskIDsToAttemptIDs structure is shared in TestJobHistory across tests. So if the job-id clash across testcases then the checks will fail. MAPREDUCE-745 should fix this. > TestJobHistory fails sometimes > ------------------------------ > > Key: MAPREDUCE-882 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-882 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Devaraj Das > Assignee: Amar Kamat > > Testcase: testDoneFolderOnHDFS took 31.892 sec > Testcase: testJobHistoryFile took 27.901 sec > FAILED > Duplicate START_TIME seen for task task_200908161937_0001_m_000003 in history file at line 5 > junit.framework.AssertionFailedError: Duplicate START_TIME seen for task task_200908161937_0001_m_000003 in history file at line 5 > at org.apache.hadoop.mapred.TestJobHistory$TestListener.handle(TestJobHistory.java:164) > at org.apache.hadoop.mapred.JobHistory.parseLine(JobHistory.java:505) > at org.apache.hadoop.mapred.JobHistory.parseHistoryFromFS(JobHistory.java:469) > at org.apache.hadoop.mapred.TestJobHistory.validateJobHistoryFileFormat(TestJobHistory.java:496) > at org.apache.hadoop.mapred.TestJobHistory.testJobHistoryFile(TestJobHistory.java:964) > Testcase: testJobHistoryUserLogLocation took 75.161 sec > Testcase: testJobHistoryJobStatus took 156.88 sec -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.