Daniel Burchardt created AIRFLOW-1278:
-----------------------------------------
Summary: 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
Reporter: Daniel Burchardt
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
(v6.3.15#6346)