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 D1BAC18279 for ; Wed, 2 Dec 2015 17:31:11 +0000 (UTC) Received: (qmail 42719 invoked by uid 500); 2 Dec 2015 17:30:11 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 42525 invoked by uid 500); 2 Dec 2015 17:30: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 42364 invoked by uid 99); 2 Dec 2015 17:30:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2015 17:30:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6922A2C1F70 for ; Wed, 2 Dec 2015 17:30:11 +0000 (UTC) Date: Wed, 2 Dec 2015 17:30:11 +0000 (UTC) From: "Daniel Templeton (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4406) RM Web UI continues to show decommissioned nodes even after RM 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-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036203#comment-15036203 ] Daniel Templeton commented on YARN-4406: ---------------------------------------- Now that I've had a chance to look at the web UI code, I see that my theory was close, but not quite. The number of decommissioned nodes is taken from {{ClusterMetrics.getMetrics().getDecomissionedNMs()}}, which is just the count of nodes in the excludes list. The list of decommissioned nodes comes from {{ResourceManager.getRMContext().getInactiveRMNodes()}}, which contains only nodes that have been decommissioned since the last restart. > RM Web UI continues to show decommissioned nodes even after RM restart > ---------------------------------------------------------------------- > > Key: YARN-4406 > URL: https://issues.apache.org/jira/browse/YARN-4406 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Reporter: Ray Chiang > Priority: Minor > > If you start up a cluster, decommission a NodeManager, and restart the RM, the decommissioned node list will still show a positive number (1 in the case of 1 node) and if you click on the list, it will be empty. -- This message was sent by Atlassian JIRA (v6.3.4#6332)