[
https://issues.apache.org/jira/browse/FLINK-22648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-22648.
------------------------------------
Fix Version/s: (was: docker-1.13.0)
docker-1.13.0.1
Resolution: Fixed
dev-master: 4ae94a1eaf349087ca97742f9917426d5bbd8ae7
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: docker-1.13.0.1
>
>
> 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)