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 8245D773A for ; Tue, 29 Nov 2011 18:10:02 +0000 (UTC) Received: (qmail 44481 invoked by uid 500); 29 Nov 2011 18:10:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 44444 invoked by uid 500); 29 Nov 2011 18:10:02 -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 44436 invoked by uid 99); 29 Nov 2011 18:10:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 18:10:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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, 29 Nov 2011 18:10:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3F91DA62AF for ; Tue, 29 Nov 2011 18:09:41 +0000 (UTC) Date: Tue, 29 Nov 2011 18:09:41 +0000 (UTC) From: "Robert Joseph Evans (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1157891009.22602.1322590181261.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <38424299.5025.1322021920158.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3460) MR AM can hang if containers are allocated on a node blacklisted by the AM 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-3460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Joseph Evans updated MAPREDUCE-3460: ------------------------------------------- Attachment: MR-3460.txt Adding a patch with The fix by Hitesh and a unit test to verify that it works. > MR AM can hang if containers are allocated on a node blacklisted by the AM > -------------------------------------------------------------------------- > > Key: MAPREDUCE-3460 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3460 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mr-am, mrv2 > Affects Versions: 0.23.0 > Reporter: Siddharth Seth > Assignee: Robert Joseph Evans > Priority: Blocker > Attachments: MR-3460.txt > > > When an AM is assigned a FAILED_MAP (priority = 5) container on a nodemanager which it has blacklisted - it tries to > find a corresponding container request. > This uses the hostname to find the matching container request - and can end up returning any of the ContainerRequests which may have requested a container on this node. This container request is cleaned to remove the bad node - and then added back to the RM 'ask' list. > The AM cleans the 'ask' list after each heartbeat - The RM Allocator is still aware of the priority=5 container (in 'remoteRequestsTable') - but this never gets added back to the 'ask' set - which is what is sent to the RM. -- 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