You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2023/04/28 11:06:21 UTC

[GitHub] [airflow] eladkal commented on a diff in pull request #30717: Update faq.rst about missing task logs

eladkal commented on code in PR #30717:
URL: https://github.com/apache/airflow/pull/30717#discussion_r1180275609


##########
docs/apache-airflow/faq.rst:
##########
@@ -441,6 +441,17 @@ If the tasks are not related by dependency, you will need to :ref:`build a custo
 Airflow UI
 ^^^^^^^^^^
 
+Why did my task fail with no logs in the UI?
+--------------------------------------------
+
+Logs are [typically served when a task reaches a terminal state](https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/logging-tasks.html#serving-logs-from-workers). Sometimes, a task's normal lifecycle is disrupted, and the task's
+worker is unable to write the task's logs. This typically happens for one of two reasons:
+
+1. [Zombie Tasks](https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/tasks.html#zombie-undead-tasks)
+2. Tasks failed after getting stuck in queued (Airflow 2.6.0+)

Review Comment:
   What the Airflow 2.6.0+ means?
   if task is stuck in queue it means it didn't reach worker. "extracting" it from the queue can be done with any Airflow version.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org