You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Tao Feng (JIRA)" <ji...@apache.org> on 2018/08/06 23:15:00 UTC

[jira] [Assigned] (AIRFLOW-2787) Airflow scheduler dies on DAGs with NULL DagRun run_id

     [ 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)