[ 
https://issues.apache.org/jira/browse/FLINK-21433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xintong Song reopened FLINK-21433:
----------------------------------

Reopening this ticket.
Default slot resource can still be inconsistent because {{numSlotsPerWorker}} 
dynamically decided by active RM is not passed to TM.

> 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)

Reply via email to