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 [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0B4818211 for ; Wed, 15 Jul 2015 01:55:06 +0000 (UTC) Received: (qmail 32347 invoked by uid 500); 15 Jul 2015 01:55:06 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 32300 invoked by uid 500); 15 Jul 2015 01:55:06 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 32287 invoked by uid 99); 15 Jul 2015 01:55:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2015 01:55:06 +0000 Date: Wed, 15 Jul 2015 01:55:06 +0000 (UTC) From: "Xianyin Xin (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3885) ProportionalCapacityPreemptionPolicy doesn't preempt if queue is more than 2 level MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14627404#comment-14627404 ] Xianyin Xin commented on YARN-3885: ----------------------------------- Agree [~leftnoteasy]. suppose we have a case parent_of_A / \ A A's brother B and A has 9 extra and 10 preemptable, but B has 9 extra and 0 preemptable (we can set the queue unpreemptable), then parent_of_A has 18 extra, but how many preemptable it should offer? It should be 9. so we'd better limit preemptable to be less than extra for queues at any level. Please correct me if i'm wrong. > ProportionalCapacityPreemptionPolicy doesn't preempt if queue is more than 2 level > ---------------------------------------------------------------------------------- > > Key: YARN-3885 > URL: https://issues.apache.org/jira/browse/YARN-3885 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Affects Versions: 2.8.0 > Reporter: Ajith S > Assignee: Ajith S > Priority: Blocker > Attachments: YARN-3885.02.patch, YARN-3885.03.patch, YARN-3885.04.patch, YARN-3885.patch > > > when preemption policy is {{ProportionalCapacityPreemptionPolicy.cloneQueues}} > this piece of code, to calculate {{untoucable}} doesnt consider al the children, it considers only immediate childern -- This message was sent by Atlassian JIRA (v6.3.4#6332)