airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayesh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-711) stopping scheduler makes running sensor fail
Date Thu, 22 Dec 2016 03:31:58 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jayesh updated AIRFLOW-711:
---------------------------
    Description: 
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}

  was:
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}


> 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
>
> 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
(v6.3.4#6332)

Mime
View raw message