You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "luoaijun (via GitHub)" <gi...@apache.org> on 2025/06/04 06:04:35 UTC
[D] When AIrflow's dag task is set as a scheduled task, it always fails to execute [airflow]
GitHub user luoaijun created a discussion: When AIrflow's dag task is set as a scheduled task, it always fails to execute
Task Failed Dependencies
Dependencies Blocking Task From Getting Scheduled
Dependency Reason
Dagrun Running Task instance's dagrun was not in the 'running' state but in the state 'failed'.
Execution Date Execution date 2025-06-02T09:27:00+00:00 is in the future (the current date is 2024-06-04T02:51:52.830515+00:00).
Task Instance State Task is in the 'None' state.
DAG :
with DAG(
'A_airflow_api',
default_args=default_args,
description='A simple HTTP Operator example with templated data',
# schedule_interval='*/10 * * * *', # 每10分钟执行一次
schedule_interval='27 9 * * *', # 每天 17:05 (UTC)
# schedule_interval='@once', # 执行一次
start_date=datetime(2023, 1, 1,0,0),
catchup=False,
max_active_runs=3,
concurrency=3,
dagrun_timeout=timedelta(hours=10),
tags=['servier','example', 'tutorial','Easy_Taxi'],
is_paused_upon_creation=True
)
<img width="575" alt="屏幕截图 2025-06-04 105220" src="https://github.com/user-attachments/assets/65bbb7be-8f9c-4c28-9e19-f9f386ec8235" />
GitHub link: https://github.com/apache/airflow/discussions/51387
----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org