afsalabdup opened a new issue #9301:
URL: https://github.com/apache/airflow/issues/9301
Team, I am using slots parameter along with 'pool' in bash operator. My task
is dependent on a resource/pool named "abc" and it needs at least 1 available
slot to run. So the code will look like below.
run_this_xyz = BashOperator(
task_id='task_1',
bash_command=' /path/abc.sh ',
pool='abc',
slots=1,
dag=dag
)
When I am running the dags, I see below warning. Seems like 'slots'
parameter won't be available in Airflow 2.0 version. May I know how to specify
slots in Airflow 2.0 version ?
[2020-06-15 01:17:46,175] {bash_operator.py:128} INFO - **kwargs: {'slots':
1}
Support for passing such arguments will be dropped in Airflow 2.0. Invalid
arguments were:
----------------------------------------------------------------
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:
[email protected]