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 375C211D81 for ; Fri, 21 Feb 2014 06:35:31 +0000 (UTC) Received: (qmail 49556 invoked by uid 500); 21 Feb 2014 06:35:27 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 49160 invoked by uid 500); 21 Feb 2014 06:35:23 -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 49144 invoked by uid 99); 21 Feb 2014 06:35:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Feb 2014 06:35:22 +0000 Date: Fri, 21 Feb 2014 06:35:22 +0000 (UTC) From: "Zhijie Shen (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1071) ResourceManager's decommissioned and lost node count is 0 after restart 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-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908029#comment-13908029 ] Zhijie Shen commented on YARN-1071: ----------------------------------- Will commit the patch > ResourceManager's decommissioned and lost node count is 0 after restart > ----------------------------------------------------------------------- > > Key: YARN-1071 > URL: https://issues.apache.org/jira/browse/YARN-1071 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.1.0-beta > Reporter: Srimanth Gunturi > Assignee: Jian He > Attachments: YARN-1071.1.patch, YARN-1071.2.patch, YARN-1071.3.patch, YARN-1071.4.patch, YARN-1071.5.patch, YARN-1071.6.patch > > > I had 6 nodes in a cluster with 2 NMs stopped. Then I put a host into YARN's {{yarn.resourcemanager.nodes.exclude-path}}. After running {{yarn rmadmin -refreshNodes}}, RM's JMX correctly showed decommissioned node count: > {noformat} > "NumActiveNMs" : 3, > "NumDecommissionedNMs" : 1, > "NumLostNMs" : 2, > "NumUnhealthyNMs" : 0, > "NumRebootedNMs" : 0 > {noformat} > After restarting RM, the counts were shown as below in JMX. > {noformat} > "NumActiveNMs" : 3, > "NumDecommissionedNMs" : 0, > "NumLostNMs" : 0, > "NumUnhealthyNMs" : 0, > "NumRebootedNMs" : 0 > {noformat} > Notice that the lost and decommissioned NM counts are both 0. -- This message was sent by Atlassian JIRA (v6.1.5#6160)