airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Feng (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AIRFLOW-2787) Airflow scheduler dies on DAGs with NULL DagRun run_id
Date Mon, 06 Aug 2018 23:15:00 GMT

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

Tao Feng reassigned AIRFLOW-2787:
---------------------------------

    Assignee: George Leslie-Waksman

> Airflow scheduler dies on DAGs with NULL DagRun run_id
> ------------------------------------------------------
>
>                 Key: AIRFLOW-2787
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2787
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: George Leslie-Waksman
>            Assignee: George Leslie-Waksman
>            Priority: Critical
>
> When a DagRun is created with NULL run_id, the scheduler subprocess will crash when checking
`is_backfill`:
> {noformat}
> Got an exception! Propagating...
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 347, in helper
>     pickle_dags)
>   File "/usr/local/lib/python3.6/site-packages/airflow/utils/db.py", line 53, in wrapper
>     result = func(*args, **kwargs)
>   File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 1583, in process_file
>     self._process_dags(dagbag, dags, ti_keys_to_schedule)
>   File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 1175, in _process_dags
>     self._process_task_instances(dag, tis_out)
>   File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 873, in _process_task_instances
>     if run.is_backfill:
>   File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 4257, in is_backfill
>     if "backfill" in self.run_id:
> TypeError: argument of type 'NoneType' is not iterable
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message