From yarn-issues-return-169914-apmail-hadoop-yarn-issues-archive=hadoop.apache.org@hadoop.apache.org Wed Jul 17 14:16:02 2019 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 [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 3A2A01933E for ; Wed, 17 Jul 2019 14:16:02 +0000 (UTC) Received: (qmail 10574 invoked by uid 500); 17 Jul 2019 14:16:01 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 10536 invoked by uid 500); 17 Jul 2019 14:16:01 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 10516 invoked by uid 99); 17 Jul 2019 14:16:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2019 14:16:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8994DE2EDD for ; Wed, 17 Jul 2019 14:16:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3CF272658F for ; Wed, 17 Jul 2019 14:16:00 +0000 (UTC) Date: Wed, 17 Jul 2019 14:16:00 +0000 (UTC) From: "ANANDA G B (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-9681) AM resource limit is incorrect for queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-9681?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16887= 083#comment-16887083 ]=20 ANANDA G B commented on YARN-9681: ---------------------------------- I have partition like below: !image-2019-07-17-19-43-16-718.png! When we submit a app to queue1 in pool1, the LeafQueue.assignContainers fun= ction will update cachedResourceLimitsForHeadroom to nodelabel pool1's reso= urce 8196. Then LeafQueue.activateApplications function calculate the 'Maximum Applica= tion Master Resources' of DEFAULT_PARTITION using cachedResourceLimitsForHe= adroom, which is wrong. So, Each nodelabel should have its own cachedResourceLimitsForHeadroom. So = it can be a ConcurrentHashMap where key is nodelabel and value is ResourceL= imits. > AM resource limit is incorrect for queue > ---------------------------------------- > > Key: YARN-9681 > URL: https://issues.apache.org/jira/browse/YARN-9681 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 3.1.2 > Reporter: ANANDA G B > Priority: Major > Attachments: After running job on queue1.png, Before running job = on queue1.png > > > After=C2=A0running the job on Queue1 of Partition1, then Queue1 of DEFAUL= T_PARTITION's 'Max Application Master Resources' is calculated wrongly. Ple= ase find the attachement. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org