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 4795311920 for ; Tue, 23 Sep 2014 17:08:35 +0000 (UTC) Received: (qmail 58728 invoked by uid 500); 23 Sep 2014 17:08:35 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 58698 invoked by uid 500); 23 Sep 2014 17:08:35 -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 58686 invoked by uid 99); 23 Sep 2014 17:08:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 17:08:35 +0000 Date: Tue, 23 Sep 2014 17:08:34 +0000 (UTC) From: "Jason Lowe (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2523) ResourceManager UI showing negative value for "Decommissioned Nodes" field 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-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145044#comment-14145044 ] Jason Lowe commented on YARN-2523: ---------------------------------- Thanks for the patch, Rohith! It seems inconsistent that we call incrDecommissionedNMs but never call decrDecommissionedNMs, and I think it can cause problems. For example, if we only have the include list specified but not an exclude list, nodes that attempt to join that are not in the include list will go into the DECOMMISSIONED state and increment the corresponding metric, but if we later refresh the nodes then I think we'll set the metric for decommissioned nodes to zero (because the exclude list is still empty) but there could be a non-zero number of decommissioned nodes. > ResourceManager UI showing negative value for "Decommissioned Nodes" field > -------------------------------------------------------------------------- > > Key: YARN-2523 > URL: https://issues.apache.org/jira/browse/YARN-2523 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager, webapp > Affects Versions: 3.0.0 > Reporter: Nishan Shetty > Assignee: Rohith > Attachments: YARN-2523.patch, YARN-2523.patch > > > 1. Decommission one NodeManager by configuring ip in excludehost file > 2. Remove ip from excludehost file > 3. Execute -refreshNodes command and restart Decommissioned NodeManager > Observe that in RM UI negative value for "Decommissioned Nodes" field is shown -- This message was sent by Atlassian JIRA (v6.3.4#6332)