You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/02/17 08:48:00 UTC
[jira] [Commented] (AIRFLOW-1278) Cast Run Id to string
[ https://issues.apache.org/jira/browse/AIRFLOW-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16770333#comment-16770333 ]
jack commented on AIRFLOW-1278:
-------------------------------
run_id can be nullable?
> Cast Run Id to string
> ---------------------
>
> Key: AIRFLOW-1278
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1278
> Project: Apache Airflow
> Issue Type: Bug
> Components: DagRun
> Affects Versions: 1.8.1
> Environment: debian8 + docker (centos)
> Reporter: Daniel Burchardt
> Priority: Major
>
> Manually run DAG with empty Run ID causes error:
> {quote}
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
> self.run()
> File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
> self._target(*self._args, **self._kwargs)
> File "/usr/lib/python2.7/site-packages/airflow/jobs.py", line 346, in helper
> pickle_dags)
> File "/usr/lib/python2.7/site-packages/airflow/utils/db.py", line 53, in wrapper
> result = func(*args, **kwargs)
> File "/usr/lib/python2.7/site-packages/airflow/jobs.py", line 1585, in process_file
> self._process_dags(dagbag, dags, ti_keys_to_schedule)
> File "/usr/lib/python2.7/site-packages/airflow/jobs.py", line 1177, in _process_dags
> self._process_task_instances(dag, tis_out)
> File "/usr/lib/python2.7/site-packages/airflow/jobs.py", line 872, in _process_task_instances
> if run.is_backfill:
> File "/usr/lib/python2.7/site-packages/airflow/models.py", line 4247, in is_backfill
> if "backfill" in self.run_id:
> TypeError: argument of type 'NoneType' is not iterable
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)