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 7FCA8200C7D for ; Tue, 16 May 2017 08:39:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7E59F160BAC; Tue, 16 May 2017 06:39:52 +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 9D082160B9D for ; Tue, 16 May 2017 08:39:51 +0200 (CEST) Received: (qmail 70048 invoked by uid 500); 16 May 2017 06:39:50 -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 70036 invoked by uid 99); 16 May 2017 06:39:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2017 06:39:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1166A1AFDA6 for ; Tue, 16 May 2017 06:39:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.796 X-Spam-Level: X-Spam-Status: No, score=-0.796 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cse-mrt-ac-lk.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id j1iY1d7f4eiH for ; Tue, 16 May 2017 06:39:48 +0000 (UTC) Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 91A445F613 for ; Tue, 16 May 2017 06:39:47 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id 9so35376196pfj.1 for ; Mon, 15 May 2017 23:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cse-mrt-ac-lk.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=grLPvdcUDj29n7EfCHQUXUJjdyD2jTICkDb1EFDfRGs=; b=EbIy8UzFhRldComzisor198pfXb/2A4mQG3WXowJRbXDUUOJGvqndl43Z5I4BECTZS YMmKBfj57AQL5dk6c4hKUBfMyLNPam6Inu6yM9Alq6ya1bFqjDgZDX12DmfDkwyWHE2L y0ukALtXEV9uVqz1ESrbRqlC2d06ro8Rde3FotYOmMQrN0epgDIv7NUxgxLmaIL0Rbue jlx9mH2tX+FquHYgBxZTo0eq+SoY7iQW3KjArnpCamxZOiqgc33v236KvGBJMvTgRC4S wAXYo906hvKBu47YW7FQZOeJOV3F5WuGZV5BKNwp/VkHFFkH6OaCtzCChjp7OaQZXhAE /iOw== 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=grLPvdcUDj29n7EfCHQUXUJjdyD2jTICkDb1EFDfRGs=; b=FjgGaoeHuKvl5lATjzMDZmJREp0N9Z8mmNvI1YN08a2XVWt7dnJIcuQzXR1LM85DqH plTmq67I5gmvmd1xv+YDr4qv8JwoURPvopJLdW9z/acsQbYcVXz0QZZ4JwzXwOAdB1j1 hwyUjY9cPFWmHv0ku5ssyReksK7mGThaLk698vO7AV+ieEsgX9DBcLdEKtgXM2ihvU3z 2oAuWe9btZ3qPt5LkRh7dLK7gL6p9CgUzf6UouWNeO+JQTCQmPOocEaenlI+y6yXJkCV 6bNranroxtOht305RzPDJyhFXmGmf7yrs0FnAbZCA24nTJsddmuzL8jdBnesr661laXi V6oA== X-Gm-Message-State: AODbwcBO/2SjB1C8BucShncTvb6jlxj31Ru4o6gPbGFa8pHNU7IxgvgX VUXuJXcZrvoUf0GgbHTxxX2ormitiWz/ X-Received: by 10.98.197.133 with SMTP id j127mr10396685pfg.239.1494916786464; Mon, 15 May 2017 23:39:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.151.143 with HTTP; Mon, 15 May 2017 23:39:30 -0700 (PDT) In-Reply-To: References: From: Niranda Perera Date: Tue, 16 May 2017 12:09:30 +0530 Message-ID: Subject: Re: Selectively send jobs to executors - executor pooling To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary="001a11e67daa06bcd8054f9e70ae" archived-at: Tue, 16 May 2017 06:39:52 -0000 --001a11e67daa06bcd8054f9e70ae Content-Type: text/plain; charset="UTF-8" Hi Arthur, so, IIUC, I should still be able to monitor the windows celery worker from the airflow master node (theoretically), isn't it? I am not planning to use windows for the master. the requirement is that some apps in the workflow are only compatible with windows. If this works, I will surely update the mailing list :-) Best Nira Best regards Niranda Perera Research Assistant Dept of CSE, University of Moratuwa niranda.17@cse.mrt.ac.lk +94 71 554 8430 https://lk.linkedin.com/in/niranda On Tue, May 16, 2017 at 12:04 PM, Arthur Wiedmer wrote: > I think that last we checked, Gunicorn which powers the webserver was not > compatible with Windows, but this might be changing now that Windows is > exposing a Unix interface of sorts. > > The worker should be fine though, as Celery runs on Windows. > > Nira, if it works for you, please let us know on the mailing list :) > > Best, > Arthur > > On Mon, May 15, 2017 at 11:24 PM, Maxime Beauchemin < > maximebeauchemin@gmail.com> wrote: > > > Yes that's what queues are for. Though I doubt Airflow works on Windows, > I > > haven't heard of anyone doing this. > > > > Max > > > > On Mon, May 15, 2017 at 10:48 PM, Niranda Perera < > niranda.17@cse.mrt.ac.lk > > > > > wrote: > > > > > Hi Max, > > > > > > Thank you very much for the clarification. I revisited the docs and I > > > believe queues would address my requirement. I will explain you my > > > requirement so that I could verify if queues are the answer for this. > > > > > > Say, my pipeline is as follows > > > A(linux) --> B(linux) --> D (win) --> E (win) --> end > > > --> C(linux) -----------------> F (win) ___| > > > > > > So, I want to make sure that these tasks reach the correct worker which > > has > > > the correct env (linux/ win). > > > Assumption: Airflow works on windows and linux :-) > > > > > > my idea is to have 2 queues win_q and linux_q and make windows/ linux > > > workers to listen to the relevant queue only. Is this possible with the > > > current provisions of airflow? > > > > > > Best regards > > > Nira > > > > > > > > > Niranda Perera > > > Research Assistant > > > Dept of CSE, University of Moratuwa > > > niranda.17@cse.mrt.ac.lk > > > +94 71 554 8430 <+94%2071%20554%208430> > > > https://lk.linkedin.com/in/niranda > > > > > > On Tue, May 16, 2017 at 9:48 AM, Maxime Beauchemin < > > > maximebeauchemin@gmail.com> wrote: > > > > > > > I think you might be confusing some of the terms & concepts. > > > > > > > > Tasks can be wired to arbitrary queues, which represent one or many > > > workers > > > > of a certain type, potentially with a specific configuration and > > > > provisioning. > > > > https://airflow.incubator.apache.org/concepts.html#queues > > > > > > > > Pools are a way to limit concurrency for a set of tasks > > > > https://airflow.incubator.apache.org/concepts.html#pools > > > > > > > > Executor is an interface that defines how tasks are triggered and > > > > eventually using some sort of remote execution backend. Currently > > mostly > > > > the LocalExecutor and CeleryExecutor are used by the community, but > we > > > > could have implementation for platforms like Mesos, Kubernetes or > Yarn. > > > > > > > > Please clarify your question if this bit of information doesn't > answer > > > it. > > > > > > > > Max > > > > > > > > On Mon, May 15, 2017 at 6:59 PM, Niranda Perera < > > > niranda.17@cse.mrt.ac.lk> > > > > wrote: > > > > > > > > > Hi all, > > > > > > > > > > I am very new to Airflow. I am looking for a particular feature in > > > > airflow, > > > > > but I could not find out whether airflow supports it. > > > > > > > > > > What I am looking for is, executor pooling. i.e. assigning a set of > > > jobs > > > > to > > > > > a particular pool of executors. > > > > > > > > > > Is this supported in airflow, or would airflow submit jobs to a > > common > > > > pool > > > > > of executors? > > > > > > > > > > Best regards > > > > > > > > > > Niranda Perera > > > > > Research Assistant > > > > > Dept of CSE, University of Moratuwa > > > > > niranda.17@cse.mrt.ac.lk > > > > > +94 71 554 8430 > > > > > https://lk.linkedin.com/in/niranda > > > > > > > > > > > > > > > --001a11e67daa06bcd8054f9e70ae--