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 C17A3200BA3 for ; Thu, 20 Oct 2016 13:47:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0425160AE0; Thu, 20 Oct 2016 11:47:00 +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 0F6B9160AF2 for ; Thu, 20 Oct 2016 13:46:59 +0200 (CEST) Received: (qmail 55209 invoked by uid 500); 20 Oct 2016 11:46:59 -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 54922 invoked by uid 99); 20 Oct 2016 11:46:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2016 11:46:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BCA562C2ABD for ; Thu, 20 Oct 2016 11:46:58 +0000 (UTC) Date: Thu, 20 Oct 2016 11:46:58 +0000 (UTC) From: "Sunil G (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2009) Priority support for preemption in ProportionalCapacityPreemptionPolicy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 20 Oct 2016 11:47:00 -0000 [ https://issues.apache.org/jira/browse/YARN-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591597#comment-15591597 ] Sunil G commented on YARN-2009: ------------------------------- I tested below case {noformat} String queuesConfig = // guaranteed,max,used,pending,reserved "root(=[100 100 55 170 0]);" + // root "-a(=[40 100 10 50 0]);" + // a "-b(=[60 100 45 120 0])"; // b String appsConfig = // queueName\t(priority,resource,host,expression,#repeat,reserved,pending) "a\t" // app1 in a + "(1,1,n1,,5,false,25, user);" + // app1 a "a\t" // app2 in a + "(2,1,n1,,5,false,25, user);" + // app2 a "b\t" // app3 in b + "(4,1,n1,,40,false,20,user1);" + // app3 b "b\t" // app1 in a + "(6,1,n1,,5,false,30,user2)"; {noformat} Here queue 'b' has 3 users and 60% is the cap for this queue. So i am considering 20GB for each user (33.33 userlimit). Given 20GB, preemption is happening for 16GB considering 4GB is already running for app3. But I am not seeing any extra preemption from same level app. May be could u share some more details. > Priority support for preemption in ProportionalCapacityPreemptionPolicy > ----------------------------------------------------------------------- > > Key: YARN-2009 > URL: https://issues.apache.org/jira/browse/YARN-2009 > Project: Hadoop YARN > Issue Type: Sub-task > Components: capacityscheduler > Reporter: Devaraj K > Assignee: Sunil G > Attachments: YARN-2009.0001.patch, YARN-2009.0002.patch, YARN-2009.0003.patch, YARN-2009.0004.patch, YARN-2009.0005.patch, YARN-2009.0006.patch, YARN-2009.0007.patch, YARN-2009.0008.patch, YARN-2009.0009.patch, YARN-2009.0010.patch, YARN-2009.0011.patch > > > While preempting containers based on the queue ideal assignment, we may need to consider preempting the low priority application containers first. -- 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