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 4974117DB2 for ; Thu, 12 Mar 2015 19:05:40 +0000 (UTC) Received: (qmail 44782 invoked by uid 500); 12 Mar 2015 19:05:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 44744 invoked by uid 500); 12 Mar 2015 19:05:39 -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 44643 invoked by uid 99); 12 Mar 2015 19:05:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 19:05:39 +0000 Date: Thu, 12 Mar 2015 19:05:39 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3305) AM-Used Resource for leafqueue is wrongly populated if AM ResourceRequest is less than minimumAllocation 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-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359186#comment-14359186 ] Jian He commented on YARN-3305: ------------------------------- [~rohithsharma], thanks for working on this ! I think we can call normalize the am request in RMAppManager after validateAndCreateResourceRequest to make sure the am request stored in RMAppIml is also correct. > AM-Used Resource for leafqueue is wrongly populated if AM ResourceRequest is less than minimumAllocation > -------------------------------------------------------------------------------------------------------- > > Key: YARN-3305 > URL: https://issues.apache.org/jira/browse/YARN-3305 > Project: Hadoop YARN > Issue Type: Bug > Components: scheduler > Affects Versions: 2.6.0 > Reporter: Rohith > Assignee: Rohith > Attachments: 0001-YARN-3305.patch > > > For given any ResourceRequest, {{CS#allocate}} normalizes request to minimumAllocation if requested memory is less than minimumAllocation. > But AM-used resource is updated with actual ResourceRequest made by user. This results in AM container allocation more than Max ApplicationMaster Resource. > This is because AM-Used is updated with actual ResourceRequest made by user while activating the applications. But during allocation of container, ResourceRequest is normalized to minimumAllocation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)