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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)