Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 39503 invoked from network); 14 Dec 2006 20:02:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 20:02:55 -0000 Received: (qmail 83924 invoked by uid 500); 14 Dec 2006 20:02:52 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 83835 invoked by uid 500); 14 Dec 2006 20:02:51 -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 83780 invoked by uid 99); 14 Dec 2006 20:02:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 12:02:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 12:02:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B1F87140F6 for ; Thu, 14 Dec 2006 12:02:22 -0800 (PST) Message-ID: <17103659.1166126542304.JavaMail.jira@brutus> Date: Thu, 14 Dec 2006 12:02:22 -0800 (PST) From: "Mahadev konar (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-791) deadlock issue in taskstracker. In-Reply-To: <2727015.1165466301505.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HADOOP-791?page=all ] Mahadev konar updated HADOOP-791: --------------------------------- Status: Open (was: Patch Available) > deadlock issue in taskstracker. > ------------------------------- > > Key: HADOOP-791 > URL: http://issues.apache.org/jira/browse/HADOOP-791 > Project: Hadoop > Issue Type: Bug > Components: mapred > Reporter: Mahadev konar > Assigned To: Mahadev konar > > the stack trace-- > "main": > at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.createStatus(TaskTracker.java:880) > - waiting to lock <0xea101658> (a org.apache.hadoop.mapred.TaskTracker$TaskInProgress) > at org.apache.hadoop.mapred.TaskTracker.transmitHeartBeat(TaskTracker.java:489) > - locked <0x75505f00> (a org.apache.hadoop.mapred.TaskTracker) > at org.apache.hadoop.mapred.TaskTracker.offerService(TaskTracker.java:442) > at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:720) > at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:1374) > "taskCleanup": > at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.cleanup(TaskTracker.java:1072) > - waiting to lock <0x75505f00> (a org.apache.hadoop.mapred.TaskTracker) > at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.jobHasFinished(TaskTracker.java:1013) > - locked <0xea101658> (a org.apache.hadoop.mapred.TaskTracker$TaskInProgress) > at org.apache.hadoop.mapred.TaskTracker$1.run(TaskTracker.java:144) > at java.lang.Thread.run(Thread.java:595) > Found 1 deadlock. > The jobhasfinished method and transmitHeart beat lock the tasktracker and tip in a different order. Also , before emitting HeartBeat we should be updating the status and removing entries from runningtasks. Currently this is done after the heartbeat. -- 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