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 CB676FEEF for ; Tue, 9 Jul 2013 07:35:51 +0000 (UTC) Received: (qmail 93667 invoked by uid 500); 9 Jul 2013 07:35:51 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 93545 invoked by uid 500); 9 Jul 2013 07:35:50 -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 93504 invoked by uid 99); 9 Jul 2013 07:35:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 07:35:49 +0000 Date: Tue, 9 Jul 2013 07:35:49 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM 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-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703016#comment-13703016 ] Jian He commented on YARN-763: ------------------------------ The test is only testing the heartbeat thread is cancelled after the SHUTDOWN is received. It might be the case that after the SHUTDOWN is received, still make more allocate calls (though unlikely from the code base) and then the thread is cancelled. I think we need a way to explicitly test no more allocate calls are made after SHUTDOWN is received as bikas said earlier. > AMRMClientAsync should stop heartbeating after receiving shutdown from RM > ------------------------------------------------------------------------- > > Key: YARN-763 > URL: https://issues.apache.org/jira/browse/YARN-763 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bikas Saha > Assignee: Xuan Gong > Attachments: YARN-763.1.patch, YARN-763.2.patch, YARN-763.3.patch, YARN-763.4.patch, YARN-763.5.patch > > -- 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