Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 54921 invoked from network); 1 Jun 2010 18:19:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 18:19:58 -0000 Received: (qmail 48821 invoked by uid 500); 1 Jun 2010 18:19:58 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 48790 invoked by uid 500); 1 Jun 2010 18:19:58 -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 48782 invoked by uid 99); 1 Jun 2010 18:19:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 18:19:58 +0000 X-ASF-Spam-Status: No, hits=-1486.0 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; Tue, 01 Jun 2010 18:19:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o51IJcd2021548 for ; Tue, 1 Jun 2010 18:19:38 GMT Message-ID: <32457397.109901275416378357.JavaMail.jira@thor> Date: Tue, 1 Jun 2010 14:19:38 -0400 (EDT) From: "Scott Chen (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1829) JobInProgress.findSpeculativeTask should use min() to find the candidate instead of sort() In-Reply-To: <20458764.109501275415542579.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-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Chen updated MAPREDUCE-1829: ---------------------------------- Attachment: (was: MAPREDUCE-1829.txt) > JobInProgress.findSpeculativeTask should use min() to find the candidate instead of sort() > ------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-1829 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1829 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: jobtracker > Affects Versions: 0.22.0 > Reporter: Scott Chen > Assignee: Scott Chen > Priority: Minor > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1829.txt > > > findSpeculativeTask needs only one candidate to speculate so it does not need to sort the whole list. It may looks OK but someone can still submit big jobs with small slow task thresholds. In this case, this sorting becomes expensive. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.