You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Tobias Feldhaus <To...@localsearch.ch> on 2017/07/12 11:25:48 UTC

What argument does -A / --ignore_all_dependencies expect when triggering via airflow run?

I am trying to force airflow to run a task so that the depends_on_past setting of the DAG is honoured and I can get it to run the rest of it:

I have tried using the –A / --ignore_all_dependencies parameter of the airflow run command, but I don’t know what argument it does expect:



airflow run -l -A IGNORE_ALL_DEPENDENCIES -f google_pipelines search_log_sensor 2017-07-01

airflow run -l --ignore_all_dependencies IGNORE_ALL_DEPENDENCIES -f google_pipelines search_log_sensor 2017-07-01

both give me:

airflow run: error: argument -A/--ignore_all_dependencies: expected one argument


Am I using it wrong?



Best,
Tobias


Re: What argument does -A / --ignore_all_dependencies expect when triggering via airflow run?

Posted by Dan Davydov <da...@airbnb.com.INVALID>.
Probably caused by the issue being fixed here: https://github.com/apache/i
ncubator-airflow/pull/2327

On Wed, Jul 12, 2017 at 4:25 AM, Tobias Feldhaus <
Tobias.Feldhaus@localsearch.ch> wrote:

> I am trying to force airflow to run a task so that the depends_on_past
> setting of the DAG is honoured and I can get it to run the rest of it:
>
> I have tried using the –A / --ignore_all_dependencies parameter of the
> airflow run command, but I don’t know what argument it does expect:
>
>
>
> airflow run -l -A IGNORE_ALL_DEPENDENCIES -f google_pipelines
> search_log_sensor 2017-07-01
>
> airflow run -l --ignore_all_dependencies IGNORE_ALL_DEPENDENCIES -f
> google_pipelines search_log_sensor 2017-07-01
>
> both give me:
>
> airflow run: error: argument -A/--ignore_all_dependencies: expected one
> argument
>
>
> Am I using it wrong?
>
>
>
> Best,
> Tobias
>
>