Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-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 89B4A183FA for ; Fri, 26 Feb 2016 14:28:21 +0000 (UTC) Received: (qmail 40278 invoked by uid 500); 26 Feb 2016 14:28:18 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 40153 invoked by uid 500); 26 Feb 2016 14:28:18 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 40137 invoked by uid 99); 26 Feb 2016 14:28:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 14:28:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 112E72C14F2 for ; Fri, 26 Feb 2016 14:28:18 +0000 (UTC) Date: Fri, 26 Feb 2016 14:28:18 +0000 (UTC) From: "Tsuyoshi Ozawa (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TEZ-3128) Avoid stopping containers on the AM shutdown thread 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/TEZ-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsuyoshi Ozawa updated TEZ-3128: -------------------------------- Attachment: TEZ-3128.003.patch Sounds good idea. I also confirmed that {{YarnTaskSchedulerService#initiateStop()}} releases all {{heldContainers}}, and {{YarnTaskSchedulerService#shutdown()}} stops all {{delayedContainers}} with async client. We don't need to release them in TezContainerLauncherImpl. > Avoid stopping containers on the AM shutdown thread > --------------------------------------------------- > > Key: TEZ-3128 > URL: https://issues.apache.org/jira/browse/TEZ-3128 > Project: Apache Tez > Issue Type: Bug > Affects Versions: 0.8.0-alpha > Reporter: Siddharth Seth > Assignee: Tsuyoshi Ozawa > Labels: newbie > Attachments: TEZ-3128.001.patch, TEZ-3128.002.patch, TEZ-3128.003.patch, amJstack > > > During an AM shutdown, the TaskCommunicator is also shutdown and it tries to stop containers in the shutdown thread itself. This can cause the AM shutdown to block if NMs are not available. > This likely affects 0.7 as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)