From yarn-issues-return-14594-apmail-hadoop-yarn-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Sep 13 02:14:27 2013 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 0E9EC10C12 for ; Fri, 13 Sep 2013 02:14:27 +0000 (UTC) Received: (qmail 74589 invoked by uid 500); 12 Sep 2013 20:50:36 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 73762 invoked by uid 500); 12 Sep 2013 20:50:11 -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 73214 invoked by uid 99); 12 Sep 2013 20:49:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 20:49:53 +0000 Date: Thu, 12 Sep 2013 20:49:53 +0000 (UTC) From: "Andrey Klochkov (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-1183) MiniYARNCluster shutdown takes several minutes intermittently 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-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrey Klochkov updated YARN-1183: ---------------------------------- Attachment: YARN-1183--n2.patch Attaching an updated patch. Updated the name of the wait method. Changed the way it gets notifications when app masters get registered/unregistered so now ApplicationAttemptId is used as the key. > MiniYARNCluster shutdown takes several minutes intermittently > ------------------------------------------------------------- > > Key: YARN-1183 > URL: https://issues.apache.org/jira/browse/YARN-1183 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Andrey Klochkov > Attachments: YARN-1183--n2.patch, YARN-1183.patch > > > As described in MAPREDUCE-5501 sometimes M/R tests leave MRAppMaster java processes living for several minutes after successful completion of the corresponding test. There is a concurrency issue in MiniYARNCluster shutdown logic which leads to this. Sometimes RM stops before an app master sends it's last report, and then the app master keeps retrying for >6 minutes. In some cases it leads to failures in subsequent tests, and it affects performance of tests as app masters eat resources. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira