Hit refresh button from UI to make sure it shows the proper order before
you run. you might also try to restart scheduler.

if it does not help, try to rename your dag_id to something like mydag_v2.

On Wed, Aug 9, 2017 at 12:48 PM, Weiwei Zhang <vvianzh...@gmail.com> wrote:

> Hi guys,
>
> I have two tasks in a DAG, t1 and t2. It used to be t2.set_upstream(t1) and
> now I want to refactor the logic by setting t1.set_upstream(t2). However,
> when I try to run this DAG, it either will try to run two tasks
> simultaneously or it will try to run t2 first and towards the end, it will
> also run t1 before t2 finishes. I am very confused about this behavior. Am
> I missing something here? I am using Airflow 1.8.1.
>
> Thanks,
> -Weiwei
>

Reply via email to