Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 83994 invoked from network); 19 Feb 2011 12:14:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2011 12:14:03 -0000 Received: (qmail 10405 invoked by uid 500); 19 Feb 2011 12:14:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 10275 invoked by uid 500); 19 Feb 2011 12:14:00 -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 10266 invoked by uid 99); 19 Feb 2011 12:13:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Feb 2011 12:13:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Feb 2011 12:13:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6C9761AB174 for ; Sat, 19 Feb 2011 12:13:38 +0000 (UTC) Date: Sat, 19 Feb 2011 12:13:38 +0000 (UTC) From: "Kang Xiao (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1876211620.2843.1298117618441.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (MAPREDUCE-2339) optimize JobInProgress.getTaskInProgress(taskid) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 optimize JobInProgress.getTaskInProgress(taskid) ------------------------------------------------ Key: MAPREDUCE-2339 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2339 Project: Hadoop Map/Reduce Issue Type: Improvement Components: jobtracker Affects Versions: 0.21.0, 0.20.2 Reporter: Kang Xiao JobInProgress.getTaskInProgress(taskid) use a linner search to get the TaskInProgress object by taskid. In fact, it can be replaced by much more efficient array index operation. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira