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 857831847A for ; Fri, 26 Feb 2016 05:44:18 +0000 (UTC) Received: (qmail 17189 invoked by uid 500); 26 Feb 2016 05:44:18 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 17127 invoked by uid 500); 26 Feb 2016 05:44: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 17110 invoked by uid 99); 26 Feb 2016 05:44: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 05:44:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1096E2C033A for ; Fri, 26 Feb 2016 05:44:18 +0000 (UTC) Date: Fri, 26 Feb 2016 05:44:18 +0000 (UTC) From: "Siddharth Seth (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=15168481#comment-15168481 ] Siddharth Seth commented on TEZ-3128: ------------------------------------- [~ozawa] - looking at the scheduler, we already release all held containers as part of the shutdown process (way before we unregister from the RM). Given that, avoiding the container stop completely would be a better option, and simpler patch. > 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, 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)