airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] lokeshlal opened a new pull request #7160: [AIRFLOW-1467] Dynamic pooling via allowing tasks to use more than one pool slot (depending upon the need)
Date Tue, 14 Jan 2020 03:38:16 GMT
lokeshlal opened a new pull request #7160: [AIRFLOW-1467] Dynamic pooling via allowing tasks
to use more than one pool slot (depending upon the need)
URL: https://github.com/apache/airflow/pull/7160
 
 
   PR contains changes in pool and task instance to provide functionality to tasks to use
more than one pool slot.
   
   - Added pool_capacity field in TaskInstance (pool_capacity is defaulted to 1, to maintain
the current behavior)
   - Added pool_capacity in baseoperator
   - Modified pools functionality to calculate the used/queued/occupied/available slots
   - Modified pool_slots_available_dep.py to check against task _pool_capacity_ field instead
of 1 
   - Modifed test case in file test_pool_slots_available_dep.py to include pool_capacity in
the Mock object
   
   -----------------------------------------------------------------------------------------------
   
   - [x] Description above provides context of the change
   - [X] Commit message contains [\[AIRFLOW-1467\]](https://issues.apache.org/jira/browse/AIRFLOW-1467)
or `[AIRFLOW-XXXX]` for document-only changes
   - [X] Unit tests coverage for changes (not needed for documentation changes)
   - [X] Commits follow "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)"
   - [X] Relevant documentation is updated including usage instructions.
   - [X] I will engage committers as explained in [Contribution Workflow Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   Read the [Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)
for more information.
   

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


With regards,
Apache Git Services

Mime
View raw message