Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22648

docker-entrypoint.sh categorically overwrites numberOfTaskSlots

    XMLWordPrintableJSON

Details

    Description

      The docker entrypoint always runs this code:

      TASK_MANAGER_NUMBER_OF_TASK_SLOTS=${TASK_MANAGER_NUMBER_OF_TASK_SLOTS:-1}
      set_config_option taskmanager.numberOfTaskSlots ${TASK_MANAGER_NUMBER_OF_TASK_SLOTS} 

      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.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: