You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/02/12 10:10:00 UTC
[jira] [Commented] (FLINK-21220) Change the type of cpuCores in
ResourceProfile to CPUResource
[ https://issues.apache.org/jira/browse/FLINK-21220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283577#comment-17283577 ]
Chesnay Schepler commented on FLINK-21220:
------------------------------------------
Out of curiosity, what would be the benefit of changing it? The {{CPUResource}} doesn't seem to offer anything special.
> Change the type of cpuCores in ResourceProfile to CPUResource
> -------------------------------------------------------------
>
> Key: FLINK-21220
> URL: https://issues.apache.org/jira/browse/FLINK-21220
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination
> Reporter: Yangze Guo
> Priority: Minor
> Labels: starter
>
> The {{cpuCores}} field in {{ResourceProfile}} should always be the CPUResource. There is no need to generalize it to {{Resource}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)