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 181FD200C2B for ; Thu, 2 Mar 2017 15:27:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 16BEB160B6F; Thu, 2 Mar 2017 14:27:53 +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 5F796160B61 for ; Thu, 2 Mar 2017 15:27:52 +0100 (CET) Received: (qmail 53624 invoked by uid 500); 2 Mar 2017 14:27:51 -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 53607 invoked by uid 99); 2 Mar 2017 14:27:51 -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, 02 Mar 2017 14:27:51 +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 B563A188A04 for ; Thu, 2 Mar 2017 14:27:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.399 X-Spam-Level: ** X-Spam-Status: No, score=2.399 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_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=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 xkPgQDLyJ5Vc for ; Thu, 2 Mar 2017 14:27:48 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 546BE5FC00 for ; Thu, 2 Mar 2017 14:27:48 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id 2so39791221oif.0 for ; Thu, 02 Mar 2017 06:27:48 -0800 (PST) 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=BUxlPyecdwvDRejXKv+izKhp0kh0ESNtKPHI4fC7SHU=; b=C7nbpgevKgQe/qAU99w70uRDbOosJo6zXE1w9izilYdmoJ38Qk0TbVoyMvFaT9eMv8 RyHAiKxvsS1atBnyyrsatQcPAyq2J5/4MJne/xepLxuTYPFJLjDa74ofu84XJ25JmYp9 3qzTdMvIJqyy50b2FtqBxEmjxXj2ySbvAZHfbDhWzKNxkmSU9ZzqlAL+bozP03JZbMFa EPpL99dfQ+p9GFxoZkedmHLiJBOZAg4Xd/wZ86v2/LZR/HsgKAGRm+5PvF7PMvBxxqI9 CwgrrWAkP4emYFoHCm0CsJnazEPrytjhqAi6IVji35L+YxUMfZQlvzlqW67pWhKtUHvI izTw== 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=BUxlPyecdwvDRejXKv+izKhp0kh0ESNtKPHI4fC7SHU=; b=fDeSfeV9hooWWWMo23+Mlh7SPE2raAQER5IfiOCdc3TW5hNV5QrpuM2ro0pDyo36X6 gXbm1LEqGlVydnLrVG6lckISsMxZYHZddToualITLLafK8wF5mLG4kRtZwu+SosRRURB cLIjZO5jTqDxBqhrpujTK2GEKlncBsRH3NFs//IHqgaI3PxrSYZ6NF1af7wESU10VDj1 Ky56a5Q8fJsv59WBJ7igk5oceKv06Oa+kiylewhWyMMXEK+X78D0Rw1HbTwl9WSSOeK0 qazzwwNpo/kGYi8oytdKdaHobn/v8UIg+OJE9uuqlxclrPas3umeN94GKtiDFogJktPR N0oQ== X-Gm-Message-State: AMke39kd10u2lLV8Mj02/UcqgongUqlIjVpcEvWNXhn1KjpMK+dKa/f0bhTBiSKTLCRIQmzA9H3G2vuhVebd5A== X-Received: by 10.202.225.5 with SMTP id y5mr6604108oig.83.1488464830857; Thu, 02 Mar 2017 06:27:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.212.5 with HTTP; Thu, 2 Mar 2017 06:27:10 -0800 (PST) From: twinkle Date: Thu, 2 Mar 2017 19:57:10 +0530 Message-ID: Subject: Airflow and Celery - co-ordination issue To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113d469e8106cd0549c03901 archived-at: Thu, 02 Mar 2017 14:27:53 -0000 --001a113d469e8106cd0549c03901 Content-Type: text/plain; charset=UTF-8 Hi, We plan to use Airflow along with Celery as the backend. Today within a DAG run, despite showing some of the tasks in a DAG as successful, Airflow was not scheduling the next potential tasks in it. Looking at the Celery Flower, following exceptions were observed: Traceback (most recent call last): File "/home/allocation/.pyenv/versions/2.7.12/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task R = retval = fun(*args, **kwargs) File "/home/allocation/.pyenv/versions/2.7.12/lib/python2.7/site-packages/celery/app/trace.py", line 622, in __protected_call__ return self.run(*args, **kwargs) File "/home/allocation/.pyenv/versions/2.7.12/lib/python2.7/site-packages/airflow/executors/celery_executor.py", line 45, in execute_command raise AirflowException('Celery command failed') AirflowException: Celery command failed There has been no failure logs at the Airflow side, and it has marked the task as Succeeded. Looking at the meta data table, i found the state of the task as FAILURE. It seems like some of the link is broken, as to some extent Airflow realises the failure, due to which it stopped scheduling the tasks further, but it is not complete, as the UI showed different state. Has anyone else experienced it? Regards, Twinkle --001a113d469e8106cd0549c03901--