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

FineGrainedSlotManager may not allocate enough taskmangers if maxSlotNum is configured

    XMLWordPrintableJSON

Details

    Description

      We ran a job with slotmanager.number-of-slots.max = 10, taskmanager.numberOfTaskSlots = 10 and taskmanager.memory.process.size: 24000m. The resources of the cluster are sufficient, but no TaskManager can be allocated. It seems that there is a problem with the calculation logic of SlotManagerConfiguration#getMaxTotalMem. Due to the rounding down of division, the calculated MemorySize is too small.

      Attachments

        Issue Links

          Activity

            People

              Weijie Guo Weijie Guo
              Weijie Guo Weijie Guo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: