airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1581) Run DAG scheduler after disabling
Date Fri, 08 Sep 2017 13:06:00 GMT

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

Max updated AIRFLOW-1581:
-------------------------
    Description: 
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
to 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?

  was:
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?


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

Mime
View raw message