Chesnay Schepler created FLINK-22648:
----------------------------------------
Summary: docker-entrypoint.sh categorically overwrites
numberOfTaskSlots
Key: FLINK-22648
URL: https://issues.apache.org/jira/browse/FLINK-22648
Project: Flink
Issue Type: Improvement
Components: flink-docker
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: docker-1.13.0
The docker entrypoint always runs this code:
{code:java}
TASK_MANAGER_NUMBER_OF_TASK_SLOTS=${TASK_MANAGER_NUMBER_OF_TASK_SLOTS:-1}
set_config_option taskmanager.numberOfTaskSlots
${TASK_MANAGER_NUMBER_OF_TASK_SLOTS} {code}
This always overrides the number of task slots, either with the value that was
set by the user or otherwise, 1.
This means that users cannot mount a different config to change the number of
slots.
We should only configure the number of slots if the environment variable was
actually set.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)