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 C117D117FC for ; Fri, 18 Jul 2014 08:12:06 +0000 (UTC) Received: (qmail 4200 invoked by uid 500); 18 Jul 2014 08:12:06 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 4121 invoked by uid 500); 18 Jul 2014 08:12:06 -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 4032 invoked by uid 99); 18 Jul 2014 08:12:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 08:12:06 +0000 Date: Fri, 18 Jul 2014 08:12:06 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2305) When a container is in reserved state then total cluster memory is displayed wrongly. 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-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066154#comment-14066154 ] Wangda Tan commented on YARN-2305: ---------------------------------- Thanks for your elaboration, I understand now, I think this is inconsistency between ParentQueue and LeafQueue, using clusterResource instead of allocated+available can definitely solve this problem. > When a container is in reserved state then total cluster memory is displayed wrongly. > ------------------------------------------------------------------------------------- > > Key: YARN-2305 > URL: https://issues.apache.org/jira/browse/YARN-2305 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.4.1 > Reporter: J.Andreina > Assignee: Sunil G > Attachments: Capture.jpg > > > ENV Details: > ========= > 3 queues : a(50%),b(25%),c(25%) ---> All max utilization is set to 100 > 2 Node cluster with total memory as 16GB > TestSteps: > ========= > Execute following 3 jobs with different memory configurations for Map , reducer and AM task > ./yarn jar wordcount-sleep.jar -Dmapreduce.job.queuename=a -Dwordcount.map.sleep.time=2000 -Dmapreduce.map.memory.mb=2048 -Dyarn.app.mapreduce.am.resource.mb=1024 -Dmapreduce.reduce.memory.mb=2048 /dir8 /preempt_85 (application_1405414066690_0023) > ./yarn jar wordcount-sleep.jar -Dmapreduce.job.queuename=b -Dwordcount.map.sleep.time=2000 -Dmapreduce.map.memory.mb=2048 -Dyarn.app.mapreduce.am.resource.mb=2048 -Dmapreduce.reduce.memory.mb=2048 /dir2 /preempt_86 (application_1405414066690_0025) > > ./yarn jar wordcount-sleep.jar -Dmapreduce.job.queuename=c -Dwordcount.map.sleep.time=2000 -Dmapreduce.map.memory.mb=1024 -Dyarn.app.mapreduce.am.resource.mb=1024 -Dmapreduce.reduce.memory.mb=1024 /dir2 /preempt_62 > Issue > ===== > when 2GB memory is in reserved state totoal memory is shown as 15GB and used as 15GB ( while total memory is 16GB) > -- This message was sent by Atlassian JIRA (v6.2#6252)