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 CBC7B200C29 for ; Tue, 28 Feb 2017 18:36:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CA50D160B7C; Tue, 28 Feb 2017 17:36:05 +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 1F1FD160B59 for ; Tue, 28 Feb 2017 18:36:04 +0100 (CET) Received: (qmail 37119 invoked by uid 500); 28 Feb 2017 17:36:04 -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 37107 invoked by uid 99); 28 Feb 2017 17:36:03 -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; Tue, 28 Feb 2017 17:36:03 +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 7E67BC05AA for ; Tue, 28 Feb 2017 17:36:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.599 X-Spam-Level: ***** X-Spam-Status: No, score=5.599 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=-0.001, RCVD_IN_SORBS_WEB=3.6, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=infoworks-io.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UX3jroM0Ntt2 for ; Tue, 28 Feb 2017 17:36:00 +0000 (UTC) Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 22EDF5F403 for ; Tue, 28 Feb 2017 17:36:00 +0000 (UTC) Received: by mail-pf0-f173.google.com with SMTP id j5so5275034pfb.2 for ; Tue, 28 Feb 2017 09:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infoworks-io.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=TMqq7HZPtaq50yRL8GEpoxaPJH2Ii2Dv+rb87ISqfPI=; b=1Sjxb2VtyuOmDaLVcRtF8nGSw0qEMOEOLmIoLVIdNt6zax2VKlqfSKSltCGcuR8NqA dOrTBQ4/ev0Pzxkb3iSakzqK6orqiAcvP69Ftn7Bcp6dc3LBv6yU0wEt/aos3Y/5saLW ANLo68ZcrbreGWaUYAyvjbDp0P2icQoiHMdKNT9wCNG/qSjuKEUv9HmooFI7V47wBmyJ 9w2kSTkl59rauxqynPqAmYYfSMz6ncyz9920NyB7JCNVEipBY8tR+XcGI3euCwPaGLQj ll0ctn2ZHQDHNcH2a019hQhD5yu7a/QpJcNJVHLE+/BurQcw2x6yMGrJwoLDfkAmFi87 bt5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=TMqq7HZPtaq50yRL8GEpoxaPJH2Ii2Dv+rb87ISqfPI=; b=CB8YgFCfWYB0HdD/2JZ6Aqfi45fWczpBya/zawOMTdGq3iCXEmEhciRiTcy6J/z4/j CRhQj/Hl6uM2U7U+VV4j4M7nwVRprd12TBW6+rjKKXgQGOhUBJLBNcw/xktsS2n1D9ZO I88gXHaw98ODc6wAJuV6T8EhZkFBYFCWOsc3N+iXx73Vg4CJYMaKV6Y9XVtRgwPDkBWw OV22Zzc+Io+QpB8acF7F627kD1xRxV6lBUDUPulrHxEdl99RsiITEN8R9euCWYIhnJfN /qllS2wWeJT/qMDZhK+rUyXSvfZG+JLhZGAx35m1EKy5g0JKoff7KjvG7HvgbB3upQSm FPKQ== X-Gm-Message-State: AMke39mUjvY6I+psqefZsbXZcxL27C4ivxmwkty9dYJAVESOWKp0SQPZ/eQw9YSLN8IQ2g== X-Received: by 10.99.241.83 with SMTP id o19mr3671275pgk.195.1488303352409; Tue, 28 Feb 2017 09:35:52 -0800 (PST) Received: from [192.168.0.102] ([106.51.134.129]) by smtp.gmail.com with ESMTPSA id h71sm5468883pfj.65.2017.02.28.09.35.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2017 09:35:51 -0800 (PST) From: Arpan Dhandhania Content-Type: multipart/alternative; boundary="Apple-Mail=_98DFAF3A-7434-4538-AC22-F4AE6A6DD07A" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3265\)) Subject: Canceling a DAG run Message-Id: <43473E0E-3ABE-4055-B437-DFAEF9B6A534@infoworks.io> Date: Tue, 28 Feb 2017 23:05:46 +0530 To: "dev@airflow.incubator.apache.org" X-Mailer: Apple Mail (2.3265) archived-at: Tue, 28 Feb 2017 17:36:06 -0000 --Apple-Mail=_98DFAF3A-7434-4538-AC22-F4AE6A6DD07A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, We have been using Airflow to run ETL jobs but sometimes require to = cancel a DAG run. Since I could not find a way to cancel a DAG run (from = CLI or UI), we are using a crude work-around that is to cancel the tasks = that are running and thus failing the DAG run. What I expect (and I might be wrong here) is that there should be a way = to cancel a DAG run which would send a SIGTERM signal to the running = tasks and after they are terminated, the DAG run should go into a = =E2=80=9Ccanceled=E2=80=9D or =E2=80=9Cfinished=E2=80=9D state. Is this something that others find useful as well or am I missing = something? Arpan Dhandhania e: arpan@infoworks.io m: +91 782 939 5618 =E2=80=94 Perfection is achieved, not when there is nothing more to add, but when = there is nothing left to take away. --Apple-Mail=_98DFAF3A-7434-4538-AC22-F4AE6A6DD07A--