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 4D56C200C24 for ; Thu, 23 Feb 2017 20:16:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4BF6F160B64; Thu, 23 Feb 2017 19:16:35 +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 3EDE5160B3E for ; Thu, 23 Feb 2017 20:16:34 +0100 (CET) Received: (qmail 25405 invoked by uid 500); 23 Feb 2017 19:16:28 -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 25388 invoked by uid 99); 23 Feb 2017 19:16:28 -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; Thu, 23 Feb 2017 19:16:28 +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 CF75DC146D for ; Thu, 23 Feb 2017 19:16:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=airbnb.com 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 CA88g8lptxeY for ; Thu, 23 Feb 2017 19:16:20 +0000 (UTC) Received: from mail-ot0-f180.google.com (mail-ot0-f180.google.com [74.125.82.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 015AF60E17 for ; Thu, 23 Feb 2017 19:16:19 +0000 (UTC) Received: by mail-ot0-f180.google.com with SMTP id w44so335607otw.2 for ; Thu, 23 Feb 2017 11:16:19 -0800 (PST) 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=VojtejQI1rCERcvbL5fdfMD0wUrzFPzpj0cJHpc5AdE=; b=mrF6Xg2At5crjVOiBiR2N+VsbiHNmsskTMgzCdekDrMpIlsdvVsSwkdDXh4lZAZVtC n5RGw4sTXKldYYlex4s1yRPDutM9X+xfGouRpAVY96HXR7QU0hDUqtw1ShF1UEOI/Vtd FXp2fjc6A4Hm8cUknslFFz1IK1T1NjZEeJ8uozJ3ZfcueUl0AIosrQsbtgT2itIt+30h Rn/iz6PczWdOX/gxpA+UtROj/5CoL6U5TXGtobcJ3IzP/UqoH7S0YhiQC3X15sqroolM pQu6EBXfXazYq+RTPgk98EKk3lkpUip76skwuna6HuNJSJ51dy8SaXz87SyTFY5MulC2 Q23w== X-Gm-Message-State: AMke39lXd44qpsrX6tZPjSI6wR0keKPi58fRwmq+MEMbx3FRoQg6W1eKfwi1zyBtyU82DLGeWPybTvB0YAFIeTIc X-Received: by 10.157.26.91 with SMTP id u27mr20242146otu.72.1487877371123; Thu, 23 Feb 2017 11:16:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.1.179 with HTTP; Thu, 23 Feb 2017 11:15:30 -0800 (PST) In-Reply-To: <97494a66-09a0-d7da-a15a-71d64439d728@mixmax.com> References: <0C96110D-2074-468A-BCAC-A7FEEE331EF8@gmail.com> <50A8DA3D-B513-4898-B9E5-9B982787743B@gmail.com> <9935F07D-0A06-4409-85AD-8C172A460A06@gmail.com> <97494a66-09a0-d7da-a15a-71d64439d728@mixmax.com> From: Dan Davydov Date: Thu, 23 Feb 2017 11:15:30 -0800 Message-ID: Subject: Re: [RESULT] [VOTE] Release Airflow 1.8.0 based on Airflow 1.8.0rc4 To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1144fd6e2cffb005493772c9 archived-at: Thu, 23 Feb 2017 19:16:35 -0000 --001a1144fd6e2cffb005493772c9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some more issues found by our users in addition to the one Alex reported and the UI issue when a dagrun doesn't have a start date: 1. If a task fails it fails the whole dagrun immediately fails, this is a very large change to how control flow works as the rest of the tasks in the DAG are not run (even e.g. leaf tasks). The same is true of the skipped status (if a leaf task is skipped then the root task for the DAG will get skipped and none of the other tasks in the DAG will run). 2. The black squares in the UI for tasks that aren't ready to run yet are confusing and make it hard for users to see which tasks haven't run yet (lower contrast). We should never initialize tasks in the DB that do not have a state (or at the least these should be white). 3. The Dagrun has a get_task_instance method that will fail if a dagrun doesn't have a copy of a task instance created which we have seen happen for some DAGs. This prevents those tasks from getting scheduled. I already patched 3 (and have a PR in flight for open source), and am working on a patch for 1 internally. 1 should be a blocker for releasing. On Wed, Feb 22, 2017 at 4:38 PM, Alex Guziel wrote: > I have some concern that this change > https://github.com/apache/incubator-airflow/pull/1939 > [AIRFLOW-679] may be having issues because we are seeing lots of double > triggers > of tasks and tasks being killed as a result. > > > > > > On Wed, Feb 22, 2017 4:35 PM, Dan Davydov dan.davydov@airbnb.com.INVALID > wrote: > Bumping the thread so another user can comment. > > > > > On Wed, Feb 22, 2017 at 3:12 PM, Maxime Beauchemin < > > maximebeauchemin@gmail.com> wrote: > > > > > > What I meant to ask is "how much engineering effort it takes to bake a > > > single RC?", I guess it depends on how much git-fu is necessary plus so= me > > > overhead cost of doing the series of actions/commands/emails/jira. > > > > > > I can volunteer for 1.8.1 (hopefully I can get do it along another Airb= nb > > > engineer/volunteer to tag along) and will try to document/automate > > > everything I can as I go through the process. The goal of 1.8.1 could b= e > to > > > basically package 1.8.0 + Dan's bugfix, and for Airbnb to get familiar > with > > > the process. > > > > > > It'd be great if you can dump your whole process on the wiki, and we'll > > > improve it on this next pass. > > > > > > Thanks again for the mountain of work that went into packaging this > > > release. > > > > > > Max > > > > > > On Wed, Feb 22, 2017 at 2:44 PM, Bolke de Bruin > wrote: > > > > > > > I thought you volunteered to baby sit 1.8.1 Chris ;-)? > > > > > > > > Sent from my iPhone > > > > > > > > > On 22 Feb 2017, at 23:31, Chris Riccomini > > > wrote: > > > > > > > > > > I'm +1 for doing a 1.8.1 fast follow-on > > > > > > > > > > On Wed, Feb 22, 2017 at 2:26 PM, Maxime Beauchemin < > > > > > maximebeauchemin@gmail.com> wrote: > > > > > > > > > >> Our database may have edge cases that could be associated with > running > > > > any > > > > >> previous version that may or may not have been part of an official > > > > release. > > > > >> > > > > >> Let's see if anyone else reports the issue. If no one does, one > option > > > > is > > > > >> to release 1.8.0 as is with a comment in the release notes, and > have a > > > > >> future official minor apache release 1.8.1 that would fix these > minor > > > > >> issues that are not deal breaker. > > > > >> > > > > >> @bolke, I'm curious, how long does it take you to go through one > > > release > > > > >> cycle? Oh, and do you have a documented step by step process for > > > > releasing? > > > > >> I'd like to add the Pypi part to this doc and add committers that > are > > > > >> interested to have rights on the project on Pypi. > > > > >> > > > > >> Max > > > > >> > > > > >>> On Wed, Feb 22, 2017 at 2:00 PM, Bolke de Bruin > > > > > wrote: > > > > >>> > > > > >>> So it is a database integrity issue? Afaik a start_date should > always > > > > be > > > > >>> set for a DagRun (create_dagrun) does so I didn't check the code > > > > though. > > > > >>> > > > > >>> Sent from my iPhone > > > > >>> > > > > >>>> On 22 Feb 2017, at 22:19, Dan Davydov > > > INVALID> > > > > >>> wrote: > > > > >>>> > > > > >>>> Should clarify this occurs when a dagrun does not have a start > date, > > > > >> not > > > > >>> a > > > > >>>> dag (which makes it even less likely to happen). I don't think > this > > > is > > > > >> a > > > > >>>> blocker for releasing. > > > > >>>> > > > > >>>>> On Wed, Feb 22, 2017 at 1:15 PM, Dan Davydov < > > > dan.davydov@airbnb.com > > > > > > > > > >>> wrote: > > > > >>>>> > > > > >>>>> I rolled this out in our prod and the webservers failed to load > due > > > > to > > > > >>>>> this commit: > > > > >>>>> > > > > >>>>> [AIRFLOW-510] Filter Paused Dags, show Last Run & Trigger Dag > > > > >>>>> 7c94d81c390881643f94d5e3d7d6fb351a445b72 > > > > >>>>> > > > > >>>>> This fixed it: > > > > >>>>> - > > > >>>>> class=3D"glyphicon glyphicon-info-sign" aria-hidden=3D"true" > > > title=3D"Start > > > > >>> Date: > > > > >>>>> {{last_run.start_date.strftime('%Y-%m-%d %H:%M')}}"> > > > > >>>>> + > > > >>>>> class=3D"glyphicon glyphicon-info-sign" aria-hidden=3D"true"> > > > > >>>>> > > > > >>>>> This is caused by assuming that all DAGs have start dates set, > so a > > > > >>> broken > > > > >>>>> DAG will take down the whole UI. Not sure if we want to make > this a > > > > >>> blocker > > > > >>>>> for the release or not, I'm guessing for most deployments this > > > would > > > > >>> occur > > > > >>>>> pretty rarely. I'll submit a PR to fix it soon. > > > > >>>>> > > > > >>>>> > > > > >>>>> > > > > >>>>> On Tue, Feb 21, 2017 at 9:49 AM, Chris Riccomini < > > > > >> criccomini@apache.org > > > > >>>> > > > > >>>>> wrote: > > > > >>>>> > > > > >>>>>> Ack that the vote has already passed, but belated +1 (binding) > > > > >>>>>> > > > > >>>>>> On Tue, Feb 21, 2017 at 7:42 AM, Bolke de Bruin < > > > bdbruin@gmail.com> > > > > >>>>>> wrote: > > > > >>>>>> > > > > >>>>>>> IPMC Voting can be found here: > > > > >>>>>>> > > > > >>>>>>> http://mail-archives.apache.org/mod_mbox/incubator-general/ > > > > >>>>>> 201702.mbox/% > > > > >>>>>>> 3c676BDC9F-1B55-4469-92A7-9FF309AD0EC8@gmail.com%3e < > > > > >>>>>>> http://mail-archives.apache.org/mod_mbox/incubator-general/ > > > > >>>>>> 201702.mbox/% > > > > >>>>>>> 3C676BDC9F-1B55-4469-92A7-9FF309AD0EC8@gmail.com%3E> > > > > >>>>>>> > > > > >>>>>>> Kind regards, > > > > >>>>>>> Bolke > > > > >>>>>>> > > > > >>>>>>>> On 21 Feb 2017, at 08:20, Bolke de Bruin > > > > >> wrote: > > > > >>>>>>>> > > > > >>>>>>>> Hello, > > > > >>>>>>>> > > > > >>>>>>>> Apache Airflow (incubating) 1.8.0 (based on RC4) has been > > > > accepted. > > > > >>>>>>>> > > > > >>>>>>>> 9 =E2=80=9C+1=E2=80=9D votes received: > > > > >>>>>>>> > > > > >>>>>>>> - Maxime Beauchemin (binding) > > > > >>>>>>>> - Arthur Wiedmer (binding) > > > > >>>>>>>> - Dan Davydov (binding) > > > > >>>>>>>> - Jeremiah Lowin (binding) > > > > >>>>>>>> - Siddharth Anand (binding) > > > > >>>>>>>> - Alex van Boxel (binding) > > > > >>>>>>>> - Bolke de Bruin (binding) > > > > >>>>>>>> > > > > >>>>>>>> - Jayesh Senjaliya (non-binding) > > > > >>>>>>>> - Yi (non-binding) > > > > >>>>>>>> > > > > >>>>>>>> Vote thread (start): > > > > >>>>>>>> http://mail-archives.apache.org/mod_mbox/incubator- > > > > >>>>>>> airflow-dev/201702.mbox/%3cD360D9BE-C358-42A1-9188- > > > > >>>>>>> 6C92C31A2F8B@gmail.com%3e > > > >>>>>>> org/mod_mbox/incubator-airflow-dev/201702.mbox/%3C7EB7B6D6- > > > > >>>>>> 092E-48D2-AA0F- > > > > >>>>>>> 15F44376A8FF@gmail.com%3E> > > > > >>>>>>>> > > > > >>>>>>>> Next steps: > > > > >>>>>>>> 1) will start the voting process at the IPMC mailinglist. I = do > > > > >> expect > > > > >>>>>>> some changes to be required mostly in documentation maybe a > > > license > > > > >>> here > > > > >>>>>>> and there. So, we might end up with changes to stable. As lon= g > as > > > > >>> these > > > > >>>>>> are > > > > >>>>>>> not (significant) code changes I will not re-raise the vote. > > > > >>>>>>>> 2) Only after the positive voting on the IPMC and > finalisation I > > > > >> will > > > > >>>>>>> rebrand the RC to Release. > > > > >>>>>>>> 3) I will upload it to the incubator release page, then the > tar > > > > >> ball > > > > >>>>>>> needs to propagate to the mirrors. > > > > >>>>>>>> 4) Update the website (can someone volunteer please?) > > > > >>>>>>>> 5) Finally, I will ask Maxime to upload it to pypi. It seems > we > > > > can > > > > >>>>>> keep > > > > >>>>>>> the apache branding as lib cloud is doing this as well ( > > > > >>>>>>> https://libcloud.apache.org/downloads.html#pypi-package < > > > > >>>>>>> https://libcloud.apache.org/downloads.html#pypi-package>). > > > > >>>>>>>> > > > > >>>>>>>> Jippie! > > > > >>>>>>>> > > > > >>>>>>>> Bolke > > > > >>>>>>> > > > > >>>>>>> > > > > >>>>>> > > > > >>>>> > > > > >>>>> > > > > >>> > > > > >> > > > > > > > > --001a1144fd6e2cffb005493772c9--