Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C52095ED for ; Tue, 17 Apr 2012 22:42:43 +0000 (UTC) Received: (qmail 56432 invoked by uid 500); 17 Apr 2012 22:42:42 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 56379 invoked by uid 500); 17 Apr 2012 22:42:42 -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 56258 invoked by uid 99); 17 Apr 2012 22:42:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 22:42:42 +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; Tue, 17 Apr 2012 22:42:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BBBB539F55A for ; Tue, 17 Apr 2012 22:42:17 +0000 (UTC) Date: Tue, 17 Apr 2012 22:42:17 +0000 (UTC) From: "Jason Lowe (Resolved) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1853108220.35096.1334702537770.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <756370753.14645.1334179876870.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (MAPREDUCE-4139) Potential ResourceManager deadlock when SchedulerEventDispatcher is stopped MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Lowe resolved MAPREDUCE-4139. ----------------------------------- Resolution: Fixed Fix Version/s: 0.23.3 > Potential ResourceManager deadlock when SchedulerEventDispatcher is stopped > --------------------------------------------------------------------------- > > Key: MAPREDUCE-4139 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4139 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.3 > Reporter: Jason Lowe > Assignee: Jason Lowe > Fix For: 0.23.3 > > Attachments: MAPREDUCE-4139.patch, MAPREDUCE-4139.patch > > > When the main thread calls ResourceManager$SchedulerEventDispatcher.stop() it grabs a lock on the object, kicks the event processor thread, and then waits for the thread to exit. However the interrupted event processor thread can end up trying to call the synchronized getConfig() method which results in deadlock. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira