Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 16D47200B4B for ; Thu, 21 Jul 2016 15:46:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1573F160A73; Thu, 21 Jul 2016 13:46:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7F2E4160A72 for ; Thu, 21 Jul 2016 15:46:21 +0200 (CEST) Received: (qmail 25177 invoked by uid 500); 21 Jul 2016 13:46:20 -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 25166 invoked by uid 99); 21 Jul 2016 13:46:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2016 13:46:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 774392C0D59 for ; Thu, 21 Jul 2016 13:46:20 +0000 (UTC) Date: Thu, 21 Jul 2016 13:46:20 +0000 (UTC) From: "Varun Vasudev (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-5242) Update DominantResourceCalculator to consider all resource types in calculations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 21 Jul 2016 13:46:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Varun Vasudev updated YARN-5242: -------------------------------- Attachment: YARN-5242-YARN-3926.004.patch Good catch. Fixed the loop. The double locking is just to initialize the singleton. I'm planning to clean it up as part of some future work. > Update DominantResourceCalculator to consider all resource types in calculations > -------------------------------------------------------------------------------- > > Key: YARN-5242 > URL: https://issues.apache.org/jira/browse/YARN-5242 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Varun Vasudev > Assignee: Varun Vasudev > Attachments: YARN-5242-YARN-3926.001.patch, YARN-5242-YARN-3926.002.patch, YARN-5242-YARN-3926.003.patch, YARN-5242-YARN-3926.004.patch > > > The fitsIn function in the DominantResourceCalculator only looks at memory and cpu. It should be modified to use all available resource types. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org