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 55B75200CDF for ; Thu, 17 Aug 2017 21:36:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53DCA16BA11; Thu, 17 Aug 2017 19:36:46 +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 9940916BA10 for ; Thu, 17 Aug 2017 21:36:45 +0200 (CEST) Received: (qmail 47173 invoked by uid 500); 17 Aug 2017 19:36:44 -0000 Mailing-List: contact dev-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list dev@airflow.incubator.apache.org Received: (qmail 47161 invoked by uid 99); 17 Aug 2017 19:36:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2017 19:36:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F0CF8180709 for ; Thu, 17 Aug 2017 19:36:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bLaGnItR9VIz for ; Thu, 17 Aug 2017 19:36:43 +0000 (UTC) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 55E5D5FE64 for ; Thu, 17 Aug 2017 19:36:42 +0000 (UTC) Received: by mail-ua0-f174.google.com with SMTP id q42so8138508uad.2 for ; Thu, 17 Aug 2017 12:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UXOxbvZAi1X95VwCxHxVLkZrtNoblzpHlF+7eJx5btw=; b=MyAXlkGDJRJDyhNuNOm//tbeR4Tn1whG9wCjLiHgzNiLZJnMzOuFzKgjgW+qEhjur1 jDMYy7Z5HkcdRWM+F/0Rhjhh4EJxQ1A6yY8WHq7ZlLJVeXsqSRHpbH6wBaxKafx1et8k +bqIqZJfGM+Qkm86Ak+FKPusWbJKVrL7dyLWfBDH/yq4LRlT1HhxL/5ui8V3yKh+q5yR WjhXAhl8xqBEClYFwErYpfaH86KHDHD5vF7NbpyE0So0uxMxeH+TUE0rWlMqNSx8zcV+ k4xGLENyQV3EzgZZhYvoTFkBdxm1eNDGcGJT6Etqwl8pZ6iPCtSkux8E7od2APevFgUV 92AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=UXOxbvZAi1X95VwCxHxVLkZrtNoblzpHlF+7eJx5btw=; b=qyDMpS1wdHUmoAmxDb2KrydkQsge6jOZa1s1wmcj9Ml5H4iCVYm8s5OBlxb93kxY9z jzb4I+OqMXYtyEqLuV3rpqw8IAA5jCZo5QR9nmqLhDPL6vDJgzUtlG87WtvNLF4/quGm p6qQC/4lWgiGlXApezddSfVgc2H+0ijkKrBMTnGfh0+RDaJsKA6kE0HSlCdPfr7szd4J 5cj/zQd6jNeHzKCOo2UnmyeHcCpjK0OaqVK27lR8/5kipmDyTvy5EV7FRcfPWpNMiT54 HJ+UK2vs6geSoj+tchOgkr11xQO65CzU34bmCpz/23Pb6Gj5vgrSXG45sXwbV0GwtdSK YWWQ== X-Gm-Message-State: AHYfb5iGNaE72rMcYfs/kEP2ZYLzVETgzLl+Koate1pz+soaFiBtK53I vu5dIBdjPoRozWYf5tz0LFzvH6dEQQ== X-Received: by 10.176.27.141 with SMTP id k13mr4338172uai.93.1502998600989; Thu, 17 Aug 2017 12:36:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.105.15 with HTTP; Thu, 17 Aug 2017 12:36:40 -0700 (PDT) In-Reply-To: References: From: Maxime Beauchemin Date: Thu, 17 Aug 2017 12:36:40 -0700 Message-ID: Subject: Re: Pools and extra capacity? To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary="94eb2c13be6eb5c0fd0556f82126" archived-at: Thu, 17 Aug 2017 19:36:46 -0000 --94eb2c13be6eb5c0fd0556f82126 Content-Type: text/plain; charset="UTF-8" The point of pools is to limit parallelism on a logical set of tasks instances to a certain number. Overflowing into another pool would break the only guarantee it provides. `priority_weigth` works along with pool to define which task should be scheduled first once slots open up. It won't kill any other tasks if higher priority tasks show up, it just re-orders the queue. Max On Wed, Aug 16, 2017 at 10:47 PM, David Capwell wrote: > I'm looking into pools and had a few questions > > Let's say I have two pools, each of 50% of the cluster. If one pool is at > capacity and has a backlog, but the other pool is idle, will airflow allow > the first pool's work to start consuming the slots from the idle pool, and > if so is their preemption to rectify if needed? Since the docs don't cover > this I expect that this is not supported? > > Also, let's say I have a DAG that I need to always run regardless of if > there are free slot or not; how could I accomplish this? Best I can see is > pools and make one just slightly smaller than the full cluster. > > Thanks for your time reading this email > --94eb2c13be6eb5c0fd0556f82126--