Weijie Guo created FLINK-32254:
----------------------------------

             Summary: FineGrainedSlotManager may not allocate enough 
taskmangers if maxSlotNum is configured
                 Key: FLINK-32254
                 URL: https://issues.apache.org/jira/browse/FLINK-32254
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.18.0
            Reporter: Weijie Guo
            Assignee: Weijie Guo


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to