Return-Path: Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: (qmail 1946 invoked from network); 19 Aug 2009 11:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 11:18:20 -0000 Received: (qmail 34306 invoked by uid 500); 19 Aug 2009 11:18:39 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 34160 invoked by uid 500); 19 Aug 2009 11:18:39 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 34103 invoked by uid 99); 19 Aug 2009 11:18:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 11:18:39 +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; Wed, 19 Aug 2009 11:18:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A9A5234C04B for ; Wed, 19 Aug 2009 04:18:15 -0700 (PDT) Message-ID: <1851377055.1250680695370.JavaMail.jira@brutus> Date: Wed, 19 Aug 2009 04:18:15 -0700 (PDT) From: "Amar Kamat (JIRA)" To: mapreduce-dev@hadoop.apache.org Subject: [jira] Resolved: (MAPREDUCE-27) Jobs with 0 maps will never get removed from the default scheduler 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-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amar Kamat resolved MAPREDUCE-27. --------------------------------- Resolution: Duplicate > Jobs with 0 maps will never get removed from the default scheduler > ------------------------------------------------------------------ > > Key: MAPREDUCE-27 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-27 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Amar Kamat > Assignee: Amar Kamat > Attachments: HADOOP-5049-v1.1.patch > > > Jobs' with 0 maps finish/succeed in the init phase i.e while the job is in the _PREP_ state. {{EagerTaskInitializationListener}} removes the job after initing but {{JobQueueJobInProgressListener}} waits for a job-state change event to be raised and aonly then removes the job from the queue and hence the job will stay forever with the {{JobQueueJobInProgressListener}}. Looks like {{FairScheduler}} periodically scans the job list and removes completed jobs. {{CapacityScheduler}} has a concept of waiting jobs and scans waiting queue for completed jobs and purges them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.