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 1639E17E11 for ; Fri, 7 Nov 2014 00:59:34 +0000 (UTC) Received: (qmail 72437 invoked by uid 500); 7 Nov 2014 00:59:33 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 72378 invoked by uid 500); 7 Nov 2014 00:59:33 -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 72365 invoked by uid 99); 7 Nov 2014 00:59:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 00:59:33 +0000 Date: Fri, 7 Nov 2014 00:59:33 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-2825) Container leak on NM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jian He created YARN-2825: ----------------------------- Summary: Container leak on NM Key: YARN-2825 URL: https://issues.apache.org/jira/browse/YARN-2825 Project: Hadoop YARN Issue Type: Bug Reporter: Jian He Assignee: Jian He Priority: Critical Caused by YARN-1372. thanks [~vinodkv] for pointing this out. The problem is that in YARN-1372 we changed the behavior to remove containers from NMContext only after the containers are acknowledged by AM. But in the {{NodeStatusUpdaterImpl#removeCompletedContainersFromContext}} call, we didn't check whether the container is really completed or not. If the container is stilll running, we shouldn't remove the container from the context -- This message was sent by Atlassian JIRA (v6.3.4#6332)