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 416221738E for ; Sun, 31 May 2015 03:52:18 +0000 (UTC) Received: (qmail 54555 invoked by uid 500); 31 May 2015 03:52:18 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 54505 invoked by uid 500); 31 May 2015 03:52:18 -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 54494 invoked by uid 99); 31 May 2015 03:52:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 May 2015 03:52:17 +0000 Date: Sun, 31 May 2015 03:52:17 +0000 (UTC) From: "Chun Chen (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2674) Distributed shell AM may re-launch containers if RM work preserving restart happens 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-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566327#comment-14566327 ] Chun Chen commented on YARN-2674: --------------------------------- Thanks for the comments [~vinodkv]. Will upload a new patch with test case after YARN-3749 fixed. > Distributed shell AM may re-launch containers if RM work preserving restart happens > ----------------------------------------------------------------------------------- > > Key: YARN-2674 > URL: https://issues.apache.org/jira/browse/YARN-2674 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Chun Chen > Assignee: Chun Chen > Attachments: YARN-2674.1.patch, YARN-2674.2.patch > > > Currently, if RM work preserving restart happens while distributed shell is running, distribute shell AM may re-launch all the containers, including new/running/complete. We must make sure it won't re-launch the running/complete containers. > We need to remove allocated containers from AMRMClientImpl#remoteRequestsTable once AM receive them from RM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)