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 972AE200C86 for ; Wed, 31 May 2017 18:36:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 95491160BCB; Wed, 31 May 2017 16:36:08 +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 DB822160BC2 for ; Wed, 31 May 2017 18:36:07 +0200 (CEST) Received: (qmail 38024 invoked by uid 500); 31 May 2017 16:36:07 -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 38003 invoked by uid 99); 31 May 2017 16:36:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 16:36:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 56BABC0620 for ; Wed, 31 May 2017 16:36:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id a8DNE8BLR5Hl for ; Wed, 31 May 2017 16:36:05 +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 553F95F2A8 for ; Wed, 31 May 2017 16:36:05 +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 CCB5EE0DA9 for ; Wed, 31 May 2017 16:36:04 +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 3494621B5F for ; Wed, 31 May 2017 16:36:04 +0000 (UTC) Date: Wed, 31 May 2017 16:36:04 +0000 (UTC) From: "Carlo Curino (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6599) Support rich placement constraints in scheduler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 31 May 2017 16:36:08 -0000 [ https://issues.apache.org/jira/browse/YARN-6599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16031469#comment-16031469 ] Carlo Curino commented on YARN-6599: ------------------------------------ (Pardon my own delay... moving/travelling) I hear you... There is a tension between an ever-growing overly-complicated scheduler code, and replication of functionalities. This, in fact, aligns with my ongoing rant about the fact that we do not have clear semantics of how all the invariants/constraints interact... if we did, it would be much easier to carve out / layer this solution. My main fear is to introduce further (complex) logic within the scheduler guts, which are already very hard to maintain. At the same time, I hear you that respecting limits/priorities/etc.. is non-trivial while sitting outside the scheduler. My preference would be for us to move towards a two-components solutions, where there is a planner/preprocessor that makes complex decisions using a rich language of constraints (and I mean a formal language) and a general purpose solver/compiler/optimizer type design. This would include all constraints/preferences that capture limits/priorities/etc. The second component would be a lean and mean inner-loop scheduler that only maintain states, and quickly instantiate those high level decisions into actual container placements. I think POCs and investigations can definitely help... my only concern is to have you (or anyone else) do lots of work that we eventually decide can't be used (hence my alarmed comments). If you are ok with it, than I am all in for POCs. > Support rich placement constraints in scheduler > ----------------------------------------------- > > Key: YARN-6599 > URL: https://issues.apache.org/jira/browse/YARN-6599 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Wangda Tan > Assignee: Wangda Tan > -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org