Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 30616 invoked from network); 30 Mar 2006 23:30:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2006 23:30:00 -0000 Received: (qmail 73881 invoked by uid 500); 30 Mar 2006 23:29:59 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 73859 invoked by uid 500); 30 Mar 2006 23:29:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 73850 invoked by uid 99); 30 Mar 2006 23:29:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 15:29:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 15:29:59 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 255626ACB1 for ; Fri, 31 Mar 2006 00:29:38 +0100 (BST) Message-ID: <290540396.1143761378150.JavaMail.jira@ajax> Date: Fri, 31 Mar 2006 00:29:38 +0100 (BST) From: "Owen O'Malley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-100) Inconsistent locking of the JobTracker.taskTrackers field In-Reply-To: <884327691.1143133758862.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-100?page=all ] Owen O'Malley updated HADOOP-100: --------------------------------- Attachment: task-tracker-table-locking.patch I made the table private instead of package local. I also wrapped each of the references to the table with a lock on the table. There is still a lingering issue with the webapp's use of JobTracker.taskTrackers(). If a status update comes in while the webapp is iterating through the taskTrackers, it will get a ConcurrentModificationException. > Inconsistent locking of the JobTracker.taskTrackers field > --------------------------------------------------------- > > Key: HADOOP-100 > URL: http://issues.apache.org/jira/browse/HADOOP-100 > Project: Hadoop > Type: Bug > Components: mapred > Versions: 0.1 > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Fix For: 0.1 > Attachments: task-tracker-table-locking.patch > > The JobTracker is using an inconsistant lock for protecting taskTrackers, which is the list of current task trackers. Some of the routines lock the JobTracker and others lock the taskTrackers field. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira