You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Grace Christina (Jira)" <ji...@apache.org> on 2019/11/29 08:03:00 UTC

[jira] [Created] (AIRFLOW-6096) Retries happen more than what is set in the DAG

Grace Christina created AIRFLOW-6096:
----------------------------------------

             Summary: Retries happen more than what is set in the DAG
                 Key: AIRFLOW-6096
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6096
             Project: Apache Airflow
          Issue Type: Bug
          Components: DagRun, scheduler
    Affects Versions: 1.10.5
         Environment: GCP
            Reporter: Grace Christina
         Attachments: image-2019-11-29-16-01-35-538.png

{code:java}
// code placeholder
default_args = {
    'depends_on_past': False,
    'retries': 1,
    'start_date': datetime.strptime("2019-10-21", '%Y-%m-%d'),
    'provide_context': True
}
{code}
The retries is set to be of value 1, however, whenever the task fails, it will be retried infinitely. 

Schedule is set to None currently. Is there anyone facing the problem? And how do I solve this? Thank you.

 

!image-2019-11-29-16-01-35-538.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)