You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yangze Guo (Jira)" <ji...@apache.org> on 2021/02/01 03:51:00 UTC

[jira] [Commented] (FLINK-21221) Deduplication of ResourceCounter

    [ https://issues.apache.org/jira/browse/FLINK-21221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276044#comment-17276044 ] 

Yangze Guo commented on FLINK-21221:
------------------------------------

cc: [~trohrmann] [~chesnay]

> Deduplication of ResourceCounter
> --------------------------------
>
>                 Key: FLINK-21221
>                 URL: https://issues.apache.org/jira/browse/FLINK-21221
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>            Reporter: Yangze Guo
>            Priority: Major
>
> Currently, we have two {{ResourceCounter}} in our code base:
> - org.apache.flink.runtime.jobmaster.slotpool.ResourceCounter. Used in SlotPool component.
> - org.apache.flink.runtime.slots.ResourceCounter. Used in SlotManager component.
> Functionally speaking, these two {{ResourceCounter}} are the same. We can merge them to one class for deduplication.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)