You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/03/10 09:30:00 UTC
[jira] [Closed] (FLINK-21433) Default slot resource is calculated
inconsistently for pending / registered TMs
[ https://issues.apache.org/jira/browse/FLINK-21433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xintong Song closed FLINK-21433.
--------------------------------
Resolution: Fixed
Fixed via
* master (1.13): fa02b09734ad4efc8987f427acb9e7a0d713d5b3
> Default slot resource is calculated inconsistently for pending / registered TMs
> -------------------------------------------------------------------------------
>
> Key: FLINK-21433
> URL: https://issues.apache.org/jira/browse/FLINK-21433
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Reporter: Xintong Song
> Assignee: Xintong Song
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
>
> For a {{PendingTaskManager}}, the default slot resource is decided by {{ResourceAllocationStrategy}}. However, this default slot resource is ignored in {{FineGrainedSlotManager#allocateResource}}.
> On the TM side, the default slot profile is calculated via {{TaskExecutorResourceUtils#generateDefaultSlotResourceProfile}}. This may lead to registered TM does not match the pending TM.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)