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 1B050D831 for ; Thu, 18 Oct 2012 21:40:04 +0000 (UTC) Received: (qmail 58632 invoked by uid 500); 18 Oct 2012 21:40:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 58569 invoked by uid 500); 18 Oct 2012 21:40:03 -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 58428 invoked by uid 99); 18 Oct 2012 21:40:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 21:40:03 +0000 Date: Thu, 18 Oct 2012 21:40:03 +0000 (UTC) From: "Amir Sanjar (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <614107886.65956.1350596403683.JavaMail.jiratomcat@arcas> In-Reply-To: <1488325477.65879.1350595804067.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (MAPREDUCE-4732) testcase testJobRetire fails using IBM JAVA 7 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-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479395#comment-13479395 ] Amir Sanjar commented on MAPREDUCE-4732: ---------------------------------------- debug result: private void waitTillRetire(JobID id, JobTracker jobtracker) { //wait for job to get retired JobInProgress job = jobtracker.getJob(id); for (int i = 0; i < 10 && job != null; i++) { UtilsForTests.waitFor(1000); job = jobtracker.getJob(id); } assertNull("Job did not retire", job); <<===== assertion job != null Conclusion: this is a timing issue, build and run with IBM JAVA 7, this particular jobs does not terminate in the given maximum time of 10sec, Works with >15 sec on a TP520. Having a hardcoded max time is not recommanded.. We are testing a patch.. will be up loaded shortly .. > testcase testJobRetire fails using IBM JAVA 7 > --------------------------------------------- > > Key: MAPREDUCE-4732 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4732 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test > Affects Versions: 1.0.3 > Environment: RHEL 6.2 with IBM JAVA 7 on a x86_64 system > Reporter: Amir Sanjar > Priority: Minor > > Testcase: testJobRetire took 53.352 sec > Testcase: testJobRetireWithUnreportedTasks took 41.173 sec > FAILED > Job did not retire > junit.framework.AssertionFailedError: Job did not retire > at org.apache.hadoop.mapred.TestJobRetire.waitTillRetire(TestJobRetire.java:130) > at org.apache.hadoop.mapred.TestJobRetire.testJobRetireWithUnreportedTasks(TestJobRetire.java:229) > Testcase: testJobRemoval took 1.073 sec -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira