Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 11405 invoked from network); 7 Apr 2010 04:42:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 04:42:58 -0000 Received: (qmail 58770 invoked by uid 500); 7 Apr 2010 04:42:57 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 58616 invoked by uid 500); 7 Apr 2010 04:42:57 -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 58595 invoked by uid 99); 7 Apr 2010 04:42:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 04:42:56 +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, 07 Apr 2010 04:42:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 81B55234C4AE for ; Wed, 7 Apr 2010 04:42:33 +0000 (UTC) Message-ID: <255846735.35971270615353530.JavaMail.jira@brutus.apache.org> Date: Wed, 7 Apr 2010 04:42:33 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1682) Tasks should not be scheduled after tip is killed/failed. In-Reply-To: <996392346.35901270615113575.JavaMail.jira@brutus.apache.org> 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-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854339#action_12854339 ] Amareshwari Sriramadasu commented on MAPREDUCE-1682: ---------------------------------------------------- A quick look at the JobInProgress code says "In JobInProgress.findSpeculativeTask(), tip.isRunnable() check is not done, whereas the method JobInProgress.findTaskFromList() does the check to skip failed/killed tips". The bug is not there in 0.21 or trunk (got fixed in HADOOP:2141), it is there only in branch 0.20. > Tasks should not be scheduled after tip is killed/failed. > --------------------------------------------------------- > > Key: MAPREDUCE-1682 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1682 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Reporter: Amareshwari Sriramadasu > Fix For: 0.20.3 > > > We have seen the following scenario in our cluster: > A job got marked failed, because four attempts of a TIP failed. This would kill all the map and reduce tips. Then a job-cleanup attempt is launched. > The job-cleanup attempt failed because it could not report status for 10 minutes. There are 3 such job-cleanup attempts leading the job to get killed after 1/2 hour. > While waiting for the job cleanup to finish, JobTracker scheduled many tasks of the job on TaskTrackers and sent a KillTaskAction in the next heartbeat. > This is just wasting lots of resources, we should avoid scheduling tasks of a tip once the tip is killed/failed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.