airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jack (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-3399) BashOperator - bash_command is not rechecked after retry
Date Mon, 26 Nov 2018 14:51:00 GMT
jack created AIRFLOW-3399:

             Summary: BashOperator - bash_command is not rechecked after retry
                 Key: AIRFLOW-3399
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: 1.9.0
            Reporter: jack

The operator does not check if bash_command parameter was changed between retries.


Steps to reproduce:

Create operator:
test = BashOperator(task_id='my_id',
     bash_command="python3.6 '{{ params.start_date }}' ",


Say that fails (wrong py file given) -  task is set on up_for_retry

change it to the right one:

test = BashOperator(task_id='my_id',
     bash_command="python3.6 '{{ params.start_date }}' ",

clear the task.

Airflow will execute again and not


Only if clearing the up stream task of the BashOperator then it recheck the bash command python

This message was sent by Atlassian JIRA

View raw message