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 A027518BBD for ; Wed, 6 Jan 2016 05:40:40 +0000 (UTC) Received: (qmail 58216 invoked by uid 500); 6 Jan 2016 05:40:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 58168 invoked by uid 500); 6 Jan 2016 05:40:40 -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 58130 invoked by uid 99); 6 Jan 2016 05:40:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2016 05:40:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D6B272C1F60 for ; Wed, 6 Jan 2016 05:40:39 +0000 (UTC) Date: Wed, 6 Jan 2016 05:40:39 +0000 (UTC) From: "Bibin A Chundatt (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4538) QueueMetrics pending cores and memory metrics wrong 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-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085011#comment-15085011 ] Bibin A Chundatt commented on YARN-4538: ---------------------------------------- Test failures are not related to patch attached. All CI failures are tracked already as part of YARN-4478 > QueueMetrics pending cores and memory metrics wrong > ---------------------------------------------------- > > Key: YARN-4538 > URL: https://issues.apache.org/jira/browse/YARN-4538 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Attachments: 0001-YARN-4538.patch > > > Submit 2 application to default queue > Check queue metrics for pending cores and memory > {noformat} > List allQueues = client.getChildQueueInfos("root"); > for (QueueInfo queueInfo : allQueues) { > QueueStatistics quastats = queueInfo.getQueueStatistics(); > System.out.println(quastats.getPendingVCores()); > System.out.println(quastats.getPendingMemoryMB()); > } > {noformat} > *Output :* > -20 > -20480 -- This message was sent by Atlassian JIRA (v6.3.4#6332)