What should I do when Airflow task gets queued but never start running?

Question:

This is a simple question.

My Airflow sometimes gets queued but never starts running.
Does it mean I have an error in my code?
What should I do?

My environment:

Asked By: masaaa015

||

Answers:

According to the discussion, we should at least do the following.

  • check that the pool assigned to the DAG exists and it has empty slots
  • raise an issue in the Airflow repo with more details about your setup & DAG
Answered By: masaaa015
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.