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 A6FA510C1E for ; Thu, 10 Apr 2014 13:11:44 +0000 (UTC) Received: (qmail 20844 invoked by uid 500); 10 Apr 2014 13:10:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 20741 invoked by uid 500); 10 Apr 2014 13:10:38 -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 20639 invoked by uid 99); 10 Apr 2014 13:10:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 13:10:35 +0000 Date: Thu, 10 Apr 2014 13:10:34 +0000 (UTC) From: "Arun C Murthy (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-1156) Change NodeManager AllocatedGB and AvailableGB metrics to show decimal values 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-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated YARN-1156: -------------------------------- Fix Version/s: (was: 2.4.0) 2.5.0 > Change NodeManager AllocatedGB and AvailableGB metrics to show decimal values > ----------------------------------------------------------------------------- > > Key: YARN-1156 > URL: https://issues.apache.org/jira/browse/YARN-1156 > Project: Hadoop YARN > Issue Type: Improvement > Affects Versions: 2.1.0-beta > Reporter: Akira AJISAKA > Assignee: Tsuyoshi OZAWA > Priority: Minor > Labels: metrics, newbie > Fix For: 2.5.0 > > Attachments: YARN-1156.1.patch > > > AllocatedGB and AvailableGB metrics are now integer type. If there are four times 500MB memory allocation to container, AllocatedGB is incremented four times by {{(int)500/1024}}, which means 0. That is, the memory size allocated is actually 2000MB, but the metrics shows 0GB. Let's use float type for these metrics. -- This message was sent by Atlassian JIRA (v6.2#6252)