You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/09/21 18:29:33 UTC

[GitHub] [airflow] Ruruthia opened a new issue #11063: Task has itself as upstream task and does not get scheduled

Ruruthia opened a new issue #11063:
URL: https://github.com/apache/airflow/issues/11063


   **Apache Airflow version**:
   1.10.6
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   1.15.12-gke.2
   **Environment**:
   Google Cloud Platform
   
   **What happened**:
   I have a DAG with ~500 tasks. They can be run concurrently. 
   The graph looks ok, but all the tasks have state "None". When I check the instance details it says:
   Task's trigger rule 'all_done' requires all upstream tasks to have completed, but found False task(s) that weren't done. upstream_tasks_state={'total': 1, 'successes': Decimal('0'), 'skipped': Decimal('0'), 'failed': Decimal('0'), 'upstream_failed': Decimal('0'), 'done': 0}, upstream_task_ids={'01_bq_list_datasets_bhagavand-sandbox-sbx-b19f_1'}
   for task  01_bq_list_datasets_bhagavand-sandbox-sbx-b19f_1.
   So the task A is waiting for task A to be done before being scheduled which ends in deadlock.
   
   **What you expected to happen**:
   The task should not for itself to be done.
   
   <!-- What do you think went wrong? -->
   Maybe nothing went wrong - when I check my other DAGs, tasks in them also have themselves as upstream tasks.
   Still, the tasks are not being scheduled.
   
   
   **Anything else we need to know**:
   This is my biggest DAG, it has 500 tasks. But it is not very much, right?
   
   How often does this problem occur? Once? Every time etc?
   Every time.
   
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #11063: Task has itself as upstream task and does not get scheduled

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #11063:
URL: https://github.com/apache/airflow/issues/11063#issuecomment-696291051


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #11063: Task has itself as upstream task and does not get scheduled

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #11063:
URL: https://github.com/apache/airflow/issues/11063#issuecomment-696291051


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] eladkal closed issue #11063: Task has itself as upstream task and does not get scheduled

Posted by GitBox <gi...@apache.org>.
eladkal closed issue #11063:
URL: https://github.com/apache/airflow/issues/11063


   


-- 
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