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 2021/04/05 09:03:27 UTC

[GitHub] [airflow] iremonur opened a new issue #15202: SCHEDULER SKIPS SOME SCHEDULED TASKS

iremonur opened a new issue #15202:
URL: https://github.com/apache/airflow/issues/15202


   Actually, I tried to schedule another task to be 10 minutes between each other, I want the first task to start at 19:50.
   In the dag code (located in ~/airflow/dags/tutorial_v2.py), I set:
   -> start_date=datetime.datetime(2021, 4, 4, 19, 50)
   -> schedule_interval= '*/10 * * * *'
   The first task is succeeded but the other three of them are stuck in the state of "running".
   Some of the parameters I set in the dag code :
   default_args = {
   'owner': 'airflow',
   'depends_on_past': False,
   'wait_for_downstream' : False,
   'email': ['airflow@example.com'],
   'email_on_failure': False,
   'email_on_retry': False,
   'retries': 1,
   'retry_delay': timedelta(minutes=5),
   }
   
   I run these commands to schedule the dag:
   $ python ~/airflow/dags/tutorial_v2.py
   $ airflow db init
   $ airflow dags backfill tutorial_v2 -s 2021-04-04-19:50 -e 2021-04-06
   The tasks which have the execution time at future are succeeded but some of the tasks at the beginning are stuck in the state of "running" :
   ![Screenshot from 2021-04-05 10-07-44](https://user-images.githubusercontent.com/47700082/113557544-d906be00-9606-11eb-98df-09292ff33c03.png)
   
   Apache Airflow version: v2.0.1
   Kubernetes is not used.
   I use the SequentialExecutor.
   
   Environment:
   
   GPU : NVIDIA Quadro K3100M
   OS: Ubuntu 18.04
   Python 3.7.3
   
   I don't understand why the scheduler skip some of the tasks, I would be very glad if you help me with this.


-- 
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 commented on issue #15202: SCHEDULER SKIPS SOME OF THE SCHEDULED TASKS

Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #15202:
URL: https://github.com/apache/airflow/issues/15202#issuecomment-864901637


   I'm not able to reproduce this.
   Did it happened one 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] eladkal closed issue #15202: SCHEDULER SKIPS SOME OF THE SCHEDULED TASKS

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


   


-- 
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] iremonur commented on issue #15202: SCHEDULER SKIPS SOME OF THE SCHEDULED TASKS

Posted by GitBox <gi...@apache.org>.
iremonur commented on issue #15202:
URL: https://github.com/apache/airflow/issues/15202#issuecomment-865166418


   The problem is solved, thank you


-- 
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] iremonur commented on issue #15202: SCHEDULER SKIPS SOME OF THE SCHEDULED TASKS

Posted by GitBox <gi...@apache.org>.
iremonur commented on issue #15202:
URL: https://github.com/apache/airflow/issues/15202#issuecomment-865166418


   The problem is solved, thank you


-- 
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 commented on issue #15202: SCHEDULER SKIPS SOME OF THE SCHEDULED TASKS

Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #15202:
URL: https://github.com/apache/airflow/issues/15202#issuecomment-864901637


   I'm not able to reproduce this.
   Did it happened one 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] eladkal closed issue #15202: SCHEDULER SKIPS SOME OF THE SCHEDULED TASKS

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


   


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