You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/02/22 08:45:00 UTC

[jira] [Created] (FLINK-21433) Default slot resource is calculated inconsistently for pending / registered TMs

Xintong Song created FLINK-21433:
------------------------------------

             Summary: 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


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)