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/06/19 16:17:02 UTC

[GitHub] [airflow] barmanand opened a new issue #9412: task_concurrency=1 not able to limit the active tasks to 1

barmanand opened a new issue #9412:
URL: https://github.com/apache/airflow/issues/9412


   
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   This questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**: 1.10.10
   
   
   **Environment**: 
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   I have set the task_concurrency=1 for BashOperator, like below
   sleep_task = BashOperator(task_id=f"task1",
                                          bash_command="sleep 2",
                                          execution_timeout=None,
                                          timeout=20,
                                          retries=3,
                                          retry_delay=timedelta(seconds=30),
                                          task_concurrency=1,
                                          dag=dag)
   It should limit the active tasks for this sleep_task to 1 across dags as per definition.
   
   **What you expected to happen**:
   
   Setting task_concurrency has no impact
   
   **How to reproduce it**:
   
   Add task_concurrency to any operator and try to run many dags at same time, so that these two tasks will be running at same time
   
   **Anything else we need to know**:
   
   


----------------------------------------------------------------
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] tooptoop4 commented on issue #9412: task_concurrency=1 not able to limit the active tasks to 1

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


   still an issue?


----------------------------------------------------------------
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] andytrigg commented on issue #9412: task_concurrency=1 not able to limit the active tasks to 1

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


   We seem to be experiencing this same issue.


----------------------------------------------------------------
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] ashb commented on issue #9412: task_concurrency=1 not able to limit the active tasks to 1

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


   Just tested this on 2.0.0rc3 and it's behaving correctly -- only one task runs at a 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 #9412: task_concurrency=1 not able to limit the active tasks to 1

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


   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] ashb closed issue #9412: task_concurrency=1 not able to limit the active tasks to 1

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


   


----------------------------------------------------------------
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] goakgun commented on issue #9412: task_concurrency=1 not able to limit the active tasks to 1

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


   any update on 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