You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Max (JIRA)" <ji...@apache.org> on 2017/09/08 13:06:00 UTC
[jira] [Created] (AIRFLOW-1581) Run DAG scheduler after disabling
Max created AIRFLOW-1581:
----------------------------
Summary: Run DAG scheduler after disabling
Key: AIRFLOW-1581
URL: https://issues.apache.org/jira/browse/AIRFLOW-1581
Project: Apache Airflow
Issue Type: Bug
Components: scheduler
Affects Versions: Airflow 1.7.1.3
Reporter: Max
Priority: Minor
I ran scheduler hourly for some time. Then disable it for a few days to fix DAG. When I want activate scheduler again it runs for every hour since last execution date. I want to be able continuing DAG only from now on, so I don't have this tons of unwanted DAG runs. If I change start_date - it doesn't take effect. If I run DAG with backfill for just now to have fresher last DAG executed - all tasks run with success, but in UI tree view I see that DAGs have white squares with "Ooops... LINE 3: WHERE dag_run.id = 'undefined'". So if I run my scheduler again it will again create all of those unwanted DAG runs.
For solution I just change schedule_interval for just one run to be close to current time. Then change it again to interval, I originally wanted. Is there a better way for it?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)