You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jayesh (JIRA)" <ji...@apache.org> on 2016/12/22 03:30:58 UTC
[jira] [Created] (AIRFLOW-711) stopping scheduler makes running
sensor fail
Jayesh created AIRFLOW-711:
------------------------------
Summary: stopping scheduler makes running sensor fail
Key: AIRFLOW-711
URL: https://issues.apache.org/jira/browse/AIRFLOW-711
Project: Apache Airflow
Issue Type: Bug
Reporter: Jayesh
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
(v6.3.4#6332)