Dag Instance went to success state with out executing its tasks #28984
Unanswered
Venkatesh748
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
I think more logs around the issue and information which version of Airflow you have would be useful. Also upgrading to latest version of Airlfow is always a good idea - we fix literally tens of errors with every bugfix release, so trying to upgrade to latest airlfow first is always a good idea, because sometimes it might even be difficult to guess if the problem of yours is a manifestation of another error that has been already fixed. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I have two dags, one dag will trigger another dag by using TriggerDagRunOperator.
consider below example
DAG-A DAG-B
Task-A1 Task-B1
Task-A2 Task-B2
DAG A is scheduled one and DAG B is not scheduled dag.
In Task-A2 of DAG-A we are triggering DAG-B using TriggerDagRunOperator.
Here the issue once DAG-A trigger DAG-B, I see that DAG-B instance state as success with out executing its tasks. This happens randomly not for every triggering. Recently we are facing this issue frequently which is impacting our application.
trigger = TriggerDagRunOperator(
task_id='trigger_id_',
trigger_dag_id='',
conf={"procssid":""},
dag=dag1
)
trigger.execute(context=context)
I am using static date for starte date in default args like below
'start_date': datetime(2020, 1, 1, 0, 0)
In airflow we have increased dag concurrency limit and tried every thing but nothing worked out.
Beta Was this translation helpful? Give feedback.
All reactions