You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The task will be stuck when the next of the past have been skipped. I understand the mean of depends_on_past and wait_for_downstream. But the skipped should be the logically be expected. The future task should be run instead of stop.
You probably shouldn't use depends_on_past no a branching scheme. Should a skipped be considered ok or generate another skipped status? People may want either behavior.
@mistercrunch
I think "skip" or "sucess" status means able to start another task in the new Dag.
Other status "running", "failed", "up_to_retry" means need wait the same task in prev Dag.
You could image a scenario. I need deal some data timely (Such as 30 minutes). I can get the results of the latest after DAG run one round. So I need control this DAG as singleton(add depends_on_past). For some fault the DAG may behind schedule. I just need run once after the fault is fixed in fact. I may add some logic to skip the behind schedule tasks of the DAG. So the skip is my logic for schedule as @nonlyli mentioned "I think "skip" or "sucess" status means able to start another task in the new Dag."
@griffinqiu We will support this behavior. I just fixed an issue related to depends_on_past=True and Skipped states, but I'm not sure it will fix wait_for_downstream. Can you pull master after #1169 is merged and ping me on gitter with whether this is fixed or needs an extra change?
Activity
mistercrunch commentedon Jan 28, 2016
You probably shouldn't use depends_on_past no a branching scheme. Should a skipped be considered ok or generate another skipped status? People may want either behavior.
nonlyli commentedon Feb 18, 2016
@mistercrunch
I think "skip" or "sucess" status means able to start another task in the new Dag.
Other status "running", "failed", "up_to_retry" means need wait the same task in prev Dag.
mistercrunch commentedon Feb 19, 2016
But why depends_on_past of something that can be skipped? Wontfix. Will review your PR though if you guys think this is important.
griffinqiu commentedon Feb 26, 2016
@mistercrunch I think this is useful.
You could image a scenario. I need deal some data timely (Such as 30 minutes). I can get the results of the latest after DAG run one round. So I need control this DAG as singleton(add depends_on_past). For some fault the DAG may behind schedule. I just need run once after the fault is fixed in fact. I may add some logic to skip the behind schedule tasks of the DAG. So the skip is my logic for schedule as @nonlyli mentioned "I think "skip" or "sucess" status means able to start another task in the new Dag."
#1033
griffinqiu commentedon Feb 26, 2016
griffinqiu commentedon Feb 26, 2016
Right now, I just can set the max_active_runs to 1 for solve this scenario. T_T
griffinqiu commentedon Mar 16, 2016
#1155
r39132 commentedon Mar 18, 2016
@griffinqiu We will support this behavior. I just fixed an issue related to depends_on_past=True and Skipped states, but I'm not sure it will fix wait_for_downstream. Can you pull master after #1169 is merged and ping me on gitter with whether this is fixed or needs an extra change?
r39132 commentedon Mar 19, 2016
This is now fixed in the PR above and tracked in the issue : #1155
Revert "Bump apache-airflow from 1.10.12 to 1.10.14 in /integrations/…