You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Imberman (Jira)" <ji...@apache.org> on 2020/03/29 15:46:00 UTC
[jira] [Closed] (AIRFLOW-711) stopping scheduler makes running
sensor fail
[ https://issues.apache.org/jira/browse/AIRFLOW-711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Imberman closed AIRFLOW-711.
-----------------------------------
Resolution: Auto Closed
> stopping scheduler makes running sensor fail
> --------------------------------------------
>
> Key: AIRFLOW-711
> URL: https://issues.apache.org/jira/browse/AIRFLOW-711
> Project: Apache Airflow
> Issue Type: Bug
> Components: core
> Reporter: Jay Sen
> Priority: Major
>
> on master brach, when i stop the scheduler ( by stopping it via my IDE ) it causes the sensor which is in running state and has run fine for couple of time already, will instantly fail with following error
> {code}
> [2016-12-21 19:25:08,588] {models.py:1347} ERROR -
> Traceback (most recent call last):
> File "/src/apache/airflow/airflow/models.py", line 1304, in run
> result = task_copy.execute(context=context)
> File "/src/apache/airflow/airflow/operators/sensors.py", line 79, in execute
> sleep(self.poke_interval)
> KeyboardInterrupt
> {code}
> on IDE side i can see the following traceback generated
> {code}
> Traceback (most recent call last):
> File "./airflow", line 28, in <module>
> args.func(args)
> File "/src/apache/airflow/airflow/bin/cli.py", line 370, in run
> run_job.run()
> File "/src/apache/airflow/airflow/jobs.py", line 202, in run
> self._execute()
> File "/src/apache/airflow/airflow/jobs.py", line 2028, in _execute
> self.heartbeat()
> File "/src/apache/airflow/airflow/jobs.py", line 177, in heartbeat
> sleep(sleep_for)
> KeyboardInterrupt
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)