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 95A7A200B27 for ; Wed, 22 Jun 2016 13:19:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 946EE160A35; Wed, 22 Jun 2016 11:19: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 DC540160A2E for ; Wed, 22 Jun 2016 13:19:04 +0200 (CEST) Received: (qmail 99855 invoked by uid 500); 22 Jun 2016 11:19:02 -0000 Mailing-List: contact commits-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 commits@airflow.incubator.apache.org Received: (qmail 99842 invoked by uid 99); 22 Jun 2016 11:19:02 -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, 22 Jun 2016 11:19:02 +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 5101A180233 for ; Wed, 22 Jun 2016 11:19:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id cHnry5fb0_HV for ; Wed, 22 Jun 2016 11:18:59 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 185735FB35 for ; Wed, 22 Jun 2016 11:18:58 +0000 (UTC) Received: (qmail 99690 invoked by uid 99); 22 Jun 2016 11:18:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 11:18:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F1DD02C1F5C for ; Wed, 22 Jun 2016 11:18:57 +0000 (UTC) Date: Wed, 22 Jun 2016 11:18:57 +0000 (UTC) From: "Tamas Szuromi (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AIRFLOW-270) Scheduler bug with manual run MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Jun 2016 11:19:05 -0000 Tamas Szuromi created AIRFLOW-270: ------------------------------------- Summary: Scheduler bug with manual run Key: AIRFLOW-270 URL: https://issues.apache.org/jira/browse/AIRFLOW-270 Project: Apache Airflow Issue Type: Bug Components: scheduler Affects Versions: Airflow 1.7.1.2, 1.7.1.3 Environment: Airflow with rabbitmq, flower and celery Reporter: Tamas Szuromi If I hit run on operator I got error from the scheduler and it stops scheduling other tasks. This issue only occurs when I manually run the operator. I got the following error: ``` [2016-06-22 12:58:11,407] {jobs.py:498} INFO - Getting list of tasks to skip for active runs. [2016-06-22 12:58:11,407] {jobs.py:514} INFO - Checking dependencies on 0 tasks instances, minus 0 skippable ones [2016-06-22 12:58:11,499] {jobs.py:498} INFO - Getting list of tasks to skip for active runs. [2016-06-22 12:58:11,499] {jobs.py:514} INFO - Checking dependencies on 0 tasks instances, minus 0 skippable ones [2016-06-22 12:58:11,539] {jobs.py:741} INFO - Done queuing tasks, calling the executor's heartbeat [2016-06-22 12:58:11,539] {jobs.py:744} INFO - Loop took: 0.495144 seconds [2016-06-22 12:58:11,542] {models.py:305} INFO - Finding 'running' jobs without a recent heartbeat [2016-06-22 12:58:11,543] {models.py:311} INFO - Failing jobs without heartbeat after 2016-06-22 12:55:56.543141 [2016-06-22 12:58:11,551] {jobs.py:758} ERROR - [Errno 32] Broken pipe Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/airflow/jobs.py", line 755, in _execute executor.heartbeat() File "/usr/lib/python2.7/dist-packages/airflow/executors/base_executor.py", line 107, in heartbeat self.sync() File "/usr/lib/python2.7/dist-packages/airflow/executors/celery_executor.py", line 74, in sync state = async.state File "/usr/local/lib/python2.7/dist-packages/celery/result.py", line 394, in state return self._get_task_meta()['status'] File "/usr/local/lib/python2.7/dist-packages/celery/result.py", line 339, in _get_task_meta return self._maybe_set_cache(self.backend.get_task_meta(self.id)) File "/usr/local/lib/python2.7/dist-packages/celery/backends/amqp.py", line 163, in get_task_meta binding.declare() File "/usr/local/lib/python2.7/dist-packages/kombu/entity.py", line 521, in declare self.exchange.declare(nowait) File "/usr/local/lib/python2.7/dist-packages/kombu/entity.py", line 174, in declare nowait=nowait, passive=passive, File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 615, in exchange_declare self._send_method((40, 10), args) File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 56, in _send_method self.channel_id, method_sig, args, content, File "/usr/local/lib/python2.7/dist-packages/amqp/method_framing.py", line 221, in write_method write_frame(1, channel, payload) File "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 182, in write_frame frame_type, channel, size, payload, 0xce, File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 32] Broken pipe [2016-06-22 12:58:11,554] {jobs.py:759} ERROR - Tachycardia! [2016-06-22 12:58:11,557] {jobs.py:574} INFO - Prioritizing 0 queued jobs [2016-06-22 12:58:11,564] {jobs.py:726} INFO - Starting 2 scheduler jobs [2016-06-22 12:58:11,641] {jobs.py:741} INFO - Done queuing tasks, calling the executor's heartbeat [2016-06-22 12:58:11,641] {jobs.py:744} INFO - Loop took: 0.086888 seconds ``` -- This message was sent by Atlassian JIRA (v6.3.4#6332)