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 2A441200B13 for ; Wed, 15 Jun 2016 12:01:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28A68160A5D; Wed, 15 Jun 2016 10:01:11 +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 9921D160A4C for ; Wed, 15 Jun 2016 12:01:10 +0200 (CEST) Received: (qmail 49591 invoked by uid 500); 15 Jun 2016 10:01:09 -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 49546 invoked by uid 99); 15 Jun 2016 10:01:09 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 10:01:09 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79AD92C1F64 for ; Wed, 15 Jun 2016 10:01:09 +0000 (UTC) Date: Wed, 15 Jun 2016 10:01:09 +0000 (UTC) From: "Varun Vasudev (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5254) capacity scheduler could only allocate a container with 1 vcore if using DefautResourceCalculator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Jun 2016 10:01:11 -0000 [ https://issues.apache.org/jira/browse/YARN-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15331465#comment-15331465 ] Varun Vasudev commented on YARN-5254: ------------------------------------- [~sandflee] - the behaviour to ignore vcores in DefaultResourceCalculator is by design. If you wish to take vcores into account with CapacityScheduler, you can change the calculator in capacity-scheduler.xml by setting yarn.scheduler.capacity.resource-calculator to org.apache.hadoop.yarn.util.resource.DominantResourceCalculator. > capacity scheduler could only allocate a container with 1 vcore if using DefautResourceCalculator > --------------------------------------------------------------------------------------------------- > > Key: YARN-5254 > URL: https://issues.apache.org/jira/browse/YARN-5254 > Project: Hadoop YARN > Issue Type: Bug > Reporter: sandflee > Assignee: sandflee > Attachments: YARN-5254.01.patch > > > 1, capacity scheduler use DefaultResourceCalculator > 2, start distributeshell with args -container_vcores 2 > 3, could only get the container with vcores 1 -- 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