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 5E642200B59 for ; Mon, 25 Jul 2016 02:44:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5CE54160A87; Mon, 25 Jul 2016 00:44: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 A4087160A74 for ; Mon, 25 Jul 2016 02:44:21 +0200 (CEST) Received: (qmail 71758 invoked by uid 500); 25 Jul 2016 00:44: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 71743 invoked by uid 99); 25 Jul 2016 00:44:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2016 00:44:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 884BA2C0D61 for ; Mon, 25 Jul 2016 00:44:20 +0000 (UTC) Date: Mon, 25 Jul 2016 00:44:20 +0000 (UTC) From: "Naganarasimha G R (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5342) Improve non-exclusive node partition resource allocation in Capacity Scheduler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 25 Jul 2016 00:44:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391216#comment-15391216 ] Naganarasimha G R commented on YARN-5342: ----------------------------------------- Thanks [~sunilg], Patch LGTM. > Improve non-exclusive node partition resource allocation in Capacity Scheduler > ------------------------------------------------------------------------------ > > Key: YARN-5342 > URL: https://issues.apache.org/jira/browse/YARN-5342 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Wangda Tan > Assignee: Sunil G > Attachments: YARN-5342.1.patch, YARN-5342.2.patch, YARN-5342.3.patch, YARN-5342.4.patch > > > In the previous implementation, one non-exclusive container allocation is possible when the missed-opportunity >= #cluster-nodes. And missed-opportunity will be reset when container allocated to any node. > This will slow down the frequency of container allocation on non-exclusive node partition: *When a non-exclusive partition=x has idle resource, we can only allocate one container for this app in every X=nodemanagers.heartbeat-interval secs for the whole cluster.* > In this JIRA, I propose a fix to reset missed-opporunity only if we have >0 pending resource for the non-exclusive partition OR we get allocation from the default partition. -- 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