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

TaskManagerOptions.NUM_TASK_SLOTS does not work for local/embedded mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1, 1.6.0
    • None
    • None
    • Linux 64bit

      Flink branch release-1.5

    Description

      When attempting to set the number of task slots via the api such ash

      configuration = new Configuration();
      configuration.setInteger(TaskManagerOptions.NUM_TASK_SLOTS, 16);
      configuration.setInteger(CoreOptions.DEFAULT_PARALLELISM, 1);
      

      I will always end up with the default slot setting based on the number of cores I have where my standalone instance is running, it doesn't matter what I set the the NUM_TASK_SLOTS to, it has no effect

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              Sam_D Samuel Doyle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: