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 8EA8818208 for ; Mon, 4 May 2015 19:47:07 +0000 (UTC) Received: (qmail 48486 invoked by uid 500); 4 May 2015 19:47:07 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 48440 invoked by uid 500); 4 May 2015 19:47:07 -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 48427 invoked by uid 99); 4 May 2015 19:47:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 19:47:07 +0000 Date: Mon, 4 May 2015 19:47:07 +0000 (UTC) From: "Jason Lowe (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3552) RM Web UI shows -1 running containers for completed apps 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-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527141#comment-14527141 ] Jason Lowe commented on YARN-3552: ---------------------------------- Thanks for the patch, Rohith. Just one nit with the indentation of the FairSchedulerAppsBlock change, as it doesn't match the surrounding code otherwise lgtm. > RM Web UI shows -1 running containers for completed apps > -------------------------------------------------------- > > Key: YARN-3552 > URL: https://issues.apache.org/jira/browse/YARN-3552 > Project: Hadoop YARN > Issue Type: Bug > Components: webapp > Reporter: Rohith > Assignee: Rohith > Priority: Trivial > Labels: newbie > Attachments: 0001-YARN-3552.patch, 0001-YARN-3552.patch, 0001-YARN-3552.patch, yarn-3352.PNG > > > In the RMServerUtils, the default values are negative number which results in the displayiing the RM web UI also negative number. > {code} > public static final ApplicationResourceUsageReport > DUMMY_APPLICATION_RESOURCE_USAGE_REPORT = > BuilderUtils.newApplicationResourceUsageReport(-1, -1, > Resources.createResource(-1, -1), Resources.createResource(-1, -1), > Resources.createResource(-1, -1), 0, 0); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)