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 8F10F200CB5 for ; Wed, 12 Jul 2017 23:34:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8D91416A9F6; Wed, 12 Jul 2017 21:34:00 +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 D5EE216A9E2 for ; Wed, 12 Jul 2017 23:33:59 +0200 (CEST) Received: (qmail 61400 invoked by uid 500); 12 Jul 2017 21:33:59 -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 61381 invoked by uid 99); 12 Jul 2017 21:33:58 -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; Wed, 12 Jul 2017 21:33:58 +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 4E0C619624C for ; Wed, 12 Jul 2017 21:33:58 +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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id doeZ2kNVPdaq for ; Wed, 12 Jul 2017 21:33:57 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 841AA5F2AC for ; Wed, 12 Jul 2017 21:23:35 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id t72so26255188lff.1 for ; Wed, 12 Jul 2017 14:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=99QE6erAq08at1H8QDpg2HrS/4vr22xreOxtU+7faf4=; b=GuTQLSlLwaOswXNmZsWl+dzVQcvyffNpvUXO0R47CvQ5M4H1pojEqrqtHqIOqnpbQi Bl1AhOOu5QCgwQx1bV2kOklPySrQLee89MTiHOK24zOxwNJUWj/ppI+7CQctDibzMP/J Iu3GchYdi8YCq4YusPIM+QcuMx4oaprYmVBlKqtRd7UEvHAE/KkR4i3cpAt0yP35mz4L Z26v9SlM0YVN5913W7kxweQQpevbKemodi8FsNHOxDEg2Kbxw0tl8wjbZgU/trh0buXd wOVc0CmOxK5AuofzkAZCEVdHjNgQrYy1vEKUEmU0OEfwY1Fv+K3f39Cl0OWmFSwRk+Wi n9LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=99QE6erAq08at1H8QDpg2HrS/4vr22xreOxtU+7faf4=; b=UK13kkGQvSK0JqJuwAzxvyjyMwPzphS2SnWjEjmssb/PHH3FLvT2NiB/m1jEU0zRc5 iWaUIKi7OxiRVEcymO2h1CuQeiliuncuQurSZELeWM/7ZhKFdbUICt8Yl7uE5AFl05lK pyUVChPOZeL1X+PSt2infQj+oCUbp3HKUOh3tLBKqjdf57eUnFZpZrWGWnvHR6HhaqG1 BQDrr/o84VvAumIUX0NXxXRbOBFrtC/7fQP9havTJnMRZbmj83UmHDTESWqi5A06Uzg9 WssZeFh1nAP9nAoBlkvToxY4CdJnhsK48ciDi9Eh0X9Mfk/YVxCASwS/AVU0HmkRKoEz ZN/A== X-Gm-Message-State: AIVw110F3acjdwX2L31N+k0bluVKfRoC0A2ecZfOwAEg1P7qVnUNua9M +4opD3J3irbCiiLyaCQ9dns8zznA/nuP X-Received: by 10.25.195.202 with SMTP id t193mr158019lff.171.1499894613806; Wed, 12 Jul 2017 14:23:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.24.93 with HTTP; Wed, 12 Jul 2017 14:23:13 -0700 (PDT) From: manish ranjan Date: Wed, 12 Jul 2017 14:23:13 -0700 Message-ID: Subject: Trying to get rid of a DAG from UI after running it for a while To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary="94eb2c1a1e22a8139d0554256d05" archived-at: Wed, 12 Jul 2017 21:34:00 -0000 --94eb2c1a1e22a8139d0554256d05 Content-Type: text/plain; charset="UTF-8" Hi All, I have had a DAG, which I needed to clean up from UI (airflow version v1.7.1.3) Following this Jira I deleted manually from all the tables queries = {'delete from *xcom* where dag_id = "' + dag_input + '"', 'delete from *task_instance* where dag_id = "' + dag_input + '"', 'delete from *sla_miss* where dag_id = "' + dag_input + '"', 'delete from *log* where dag_id = "' + dag_input + '"', 'delete from *job* where dag_id = "' + dag_input + '"', 'delete from *dag_run* where dag_id = "' + dag_input + '"', 'delete from *dag* where dag_id = "' + dag_input + '"' } But the dag from airflow UI just won't go away :( Is there something basic I am missing? PS: I also saw that you guys have merged this PR just a few days back so we will be able to do this from CLI. Thanks for that. But how can I do this today? ~Manish --94eb2c1a1e22a8139d0554256d05--