Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 74184 invoked from network); 3 May 2010 06:16:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 06:16:17 -0000 Received: (qmail 99367 invoked by uid 500); 3 May 2010 06:16:17 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 99280 invoked by uid 500); 3 May 2010 06:16:17 -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 99272 invoked by uid 99); 3 May 2010 06:16:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 06:16:17 +0000 X-ASF-Spam-Status: No, hits=-1378.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 06:16:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o436FteL024103 for ; Mon, 3 May 2010 06:15:56 GMT Message-ID: <23531391.10151272867355883.JavaMail.jira@thor> Date: Mon, 3 May 2010 02:15:55 -0400 (EDT) From: "Iyappan Srinivasan (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1730) Automate test scenario for successful/killed jobs' memory is properly removed from jobtracker after these jobs retire. In-Reply-To: <27843972.28021272354332705.JavaMail.jira@thor> 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-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863247#action_12863247 ] Iyappan Srinivasan commented on MAPREDUCE-1730: ----------------------------------------------- I don't see where the test is really verifying that job in progress object is really removed. I don't see any assert conditions specific to retired job in the code. - getJobInfo returns JobinProgress Object. So, the presence or absence of Jobinprogress object is used to verify job retirement. Assert conditions are present for the presence and absence of this object. cluster.isJobStarted(jobID); -> this method is available in the MRCluster. - This method is used now in the testcase. Why are your checking the jobInfo second time? - Double checking is removed. There is only one checking now. If jobinfo available after completion of job, it should fail and shows the message saying that 'Job information is still available after completion of job'. - This message is added, with a slight change. "Job information is still available after retirement of job" > Automate test scenario for successful/killed jobs' memory is properly removed from jobtracker after these jobs retire. > ---------------------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1730 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1730 > Project: Hadoop Map/Reduce > Issue Type: Test > Affects Versions: 0.22.0 > Reporter: Iyappan Srinivasan > Fix For: 0.22.0 > > Attachments: TestJobRetired.patch, TestRetiredJobs.patch > > > Automate using herriot framework, test scenario for successful/killed jobs' memory is properly removed from jobtracker after these jobs retire. > This should test when successful and failed jobs are retired, their jobInProgress object are removed properly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.