Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 27EC919AE3 for ; Mon, 11 Apr 2016 22:35:26 +0000 (UTC) Received: (qmail 21431 invoked by uid 500); 11 Apr 2016 22:35:26 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 21374 invoked by uid 500); 11 Apr 2016 22:35:26 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 21212 invoked by uid 99); 11 Apr 2016 22:35:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 22:35:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9974B2C1F6A for ; Mon, 11 Apr 2016 22:35:25 +0000 (UTC) Date: Mon, 11 Apr 2016 22:35:25 +0000 (UTC) From: "sandflee (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4924) NM recovery race can lead to container not cleaned up 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/YARN-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236115#comment-15236115 ] sandflee commented on YARN-4924: -------------------------------- in case of createWriteBatch throws runtime Exception, seems more safer to mv createWriteBatch in try block. I'll update the patch. > NM recovery race can lead to container not cleaned up > ----------------------------------------------------- > > Key: YARN-4924 > URL: https://issues.apache.org/jira/browse/YARN-4924 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 3.0.0, 2.7.2 > Reporter: Nathan Roberts > Assignee: sandflee > Attachments: YARN-4924.01.patch, YARN-4924.02.patch, YARN-4924.03.patch > > > It's probably a small window but we observed a case where the NM crashed and then a container was not properly cleaned up during recovery. > I will add details in first comment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)