[
https://issues.apache.org/jira/browse/FLINK-32254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weijie Guo closed FLINK-32254.
------------------------------
Fix Version/s: 1.18.0
1.16.3
1.17.2
Resolution: Fixed
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0, 1.16.3, 1.17.2
>
>
> 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)