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 8A7E3200C0D for ; Tue, 17 Jan 2017 02:08:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8919B160B4D; Tue, 17 Jan 2017 01:08:36 +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 D3FF1160B41 for ; Tue, 17 Jan 2017 02:08:35 +0100 (CET) Received: (qmail 36631 invoked by uid 500); 17 Jan 2017 01:08:35 -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 36620 invoked by uid 99); 17 Jan 2017 01:08:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2017 01:08:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 704B5C20B1 for ; Tue, 17 Jan 2017 01:08:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WoKtcpeXTUMK for ; Tue, 17 Jan 2017 01:08:33 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7CF525F576 for ; Tue, 17 Jan 2017 01:08:33 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AF3DBE8F0B for ; Tue, 17 Jan 2017 01:08:30 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id F1CE6252AB for ; Tue, 17 Jan 2017 01:08:27 +0000 (UTC) Date: Tue, 17 Jan 2017 01:08:27 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-5864) YARN Capacity Scheduler - Queue Priorities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 Jan 2017 01:08:36 -0000 [ https://issues.apache.org/jira/browse/YARN-5864?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Wangda Tan updated YARN-5864: ----------------------------- Attachment: YARN-5864.branch-2.007_2.patch > YARN Capacity Scheduler - Queue Priorities > ------------------------------------------ > > Key: YARN-5864 > URL: https://issues.apache.org/jira/browse/YARN-5864 > Project: Hadoop YARN > Issue Type: New Feature > Reporter: Wangda Tan > Assignee: Wangda Tan > Attachments: YARN-5864.001.patch, YARN-5864.002.patch, YARN-5864.= 003.patch, YARN-5864.004.patch, YARN-5864.005.patch, YARN-5864.006.patch, Y= ARN-5864.007.patch, YARN-5864.branch-2.007_2.patch, YARN-5864.branch-2.007.= patch, YARN-5864.poc-0.patch, YARN-5864-preemption-performance-report.pdf, = YARN-5864-usage-doc.html, YARN-CapacityScheduler-Queue-Priorities-design-v1= .pdf > > > Currently, Capacity Scheduler at every parent-queue level uses relative u= sed-capacities of the chil-queues to decide which queue can get next availa= ble resource first. > For example, > - Q1 & Q2 are child queues under queueA > - Q1 has 20% of configured capacity, 5% of used-capacity and > - Q2 has 80% of configured capacity, 8% of used-capacity. > In the situation, the relative used-capacities are calculated as below > - Relative used-capacity of Q1 is 5/20 =3D 0.25 > - Relative used-capacity of Q2 is 8/80 =3D 0.10 > In the above example, per today=E2=80=99s Capacity Scheduler=E2=80=99s al= gorithm, Q2 is selected by the scheduler first to receive next available re= source. > Simply ordering queues according to relative used-capacities sometimes ca= uses a few troubles because scarce resources could be assigned to less-impo= rtant apps first. > # Latency sensitivity: This can be a problem with latency sensitive appli= cations where waiting till the =E2=80=98other=E2=80=99 queue gets full is n= ot going to cut it. The delay in scheduling directly reflects in the respon= se times of these applications. > # Resource fragmentation for large-container apps: Today=E2=80=99s algori= thm also causes issues with applications that need very large containers. I= t is possible that existing queues are all within their resource guarantees= but their current allocation distribution on each node may be such that an= application which needs large container simply cannot fit on those nodes. > Services: > # The above problem (2) gets worse with long running applications. With s= hort running apps, previous containers may eventually finish and make enoug= h space for the apps with large containers. But with long running services = in the cluster, the large containers=E2=80=99 application may never get res= ources on any nodes even if its demands are not yet met. > # Long running services are sometimes more picky w.r.t placement than nor= mal batch apps. For example, for a long running service in a separate queue= (say queue=3Dservice), during peak hours it may want to launch instances o= n 50% of the cluster nodes. On each node, it may want to launch a large con= tainer, say 200G memory per container. -- 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