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 798DF200B32 for ; Thu, 23 Jun 2016 23:20:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 785CC160A35; Thu, 23 Jun 2016 21:20:18 +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 9D64E160A68 for ; Thu, 23 Jun 2016 23:20:17 +0200 (CEST) Received: (qmail 91241 invoked by uid 500); 23 Jun 2016 21:20:16 -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 91049 invoked by uid 99); 23 Jun 2016 21:20:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 21:20:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4F7EA2C1F64 for ; Thu, 23 Jun 2016 21:20:16 +0000 (UTC) Date: Thu, 23 Jun 2016 21:20:16 +0000 (UTC) From: "Kuhu Shukla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4280) CapacityScheduler reservations may not prevent indefinite postponement on a busy cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Jun 2016 21:20:18 -0000 [ https://issues.apache.org/jira/browse/YARN-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kuhu Shukla updated YARN-4280: ------------------------------ Attachment: YARN-4280.005.patch Attaching the intended patch. > CapacityScheduler reservations may not prevent indefinite postponement on a busy cluster > ---------------------------------------------------------------------------------------- > > Key: YARN-4280 > URL: https://issues.apache.org/jira/browse/YARN-4280 > Project: Hadoop YARN > Issue Type: Bug > Components: capacity scheduler > Affects Versions: 2.6.1, 2.8.0, 2.7.1 > Reporter: Kuhu Shukla > Assignee: Kuhu Shukla > Attachments: YARN-4280.001.patch, YARN-4280.002.patch, YARN-4280.003.patch, YARN-4280.004.patch, YARN-4280.005.patch > > > Consider the following scenario: > There are 2 queues A(25% of the total capacity) and B(75%), both can run at total cluster capacity. There are 2 applications, appX that runs on Queue A, always asking for 1G containers(non-AM) and appY runs on Queue B asking for 2 GB containers. > The user limit is high enough for the application to reach 100% of the cluster resource. > appX is running at total cluster capacity, full with 1G containers releasing only one container at a time. appY comes in with a request of 2GB container but only 1 GB is free. Ideally, since appY is in the underserved queue, it has higher priority and should reserve for its 2 GB request. Since this request puts the alloc+reserve above total capacity of the cluster, reservation is not made. appX comes in with a 1GB request and since 1GB is still available, the request is allocated. > This can continue indefinitely causing priority inversion. -- 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