Only works with the CeleryExecutor

12,492

I had a similar problem. Issue was following:

With LocalExecutor you cannot run single task, you could only run the whole DAG at once. Source code

DAG was already in 'success' state.

Possible solution is to change DAG status to running.

Share:
12,492

Related videos on Youtube

宋殊同
Author by

宋殊同

Updated on July 05, 2022

Comments

  • 宋殊同
    宋殊同 almost 2 years

    I am new at airflow and when i click run 'ignore all dependence' on Task Instance Context Menu like this:

    Task Instance Context Menu

    It leads to 'Only works with the CeleryExecutor'

    I try to Refresh the Web UI but it doesn't work.

    (I use LocalExecutor and don't want to use CeleryExecutor)

    Why it happened and how can i run a single task ignore all dependence on the Web UI when i use LocalExecutor

  • 宋殊同
    宋殊同 over 6 years
    Thanks for your solution,I read the source code and choose CeleryExecutor to solve it
  • Deva
    Deva almost 5 years
    I remove check in airflow which check celeryexecutor & I was able to perform ignore_all_depndecies using local executor. Is there any drawbacks of doing this, any idea why it was not enabled for LocalExecutor.
  • maleckicoa
    maleckicoa over 3 years
    @Deva could you please share an image /link where did you find that check?