Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 16288 invoked from network); 21 Aug 2010 03:52:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Aug 2010 03:52:42 -0000 Received: (qmail 73189 invoked by uid 500); 21 Aug 2010 03:52:42 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 73085 invoked by uid 500); 21 Aug 2010 03:52:40 -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 73076 invoked by uid 99); 21 Aug 2010 03:52:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Aug 2010 03:52:38 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Aug 2010 03:52:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7L3qIaw005838 for ; Sat, 21 Aug 2010 03:52:18 GMT Message-ID: <12706325.485151282362738352.JavaMail.jira@thor> Date: Fri, 20 Aug 2010 23:52:18 -0400 (EDT) From: "Scott Chen (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-2026) JobTracker.getJobCounters() should not hold JobTracker lock while calling JobInProgress.getCounters() In-Reply-To: <25322164.485001282362076945.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-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Chen updated MAPREDUCE-2026: ---------------------------------- Attachment: (was: MAPREDUCE-2026.txt) > JobTracker.getJobCounters() should not hold JobTracker lock while calling JobInProgress.getCounters() > ----------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-2026 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2026 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Scott Chen > Assignee: Scott Chen > Fix For: 0.22.0 > > > JobTracker.getJobCounter() will lock JobTracker and call JobInProgress.getCounters(). > JobInProgress.getCounters() can be very expensive because it aggregates all the task counters. > We found that from the JobTracker jstacks that this method is one of the bottleneck of the JobTracker performance. > JobInProgress.getCounters() should be able to be called out side the JobTracker lock because it already has JobInProgress lock. > For example, it is used by jobdetails.jsp without a JobTracker lock. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.