[
https://issues.apache.org/jira/browse/FLINK-41689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-41689:
-----------------------------------
Labels: pull-request-available (was: )
> The DataStream V2 slot sharing group builder accepts non-finite CPU counts
> --------------------------------------------------------------------------
>
> Key: FLINK-41689
> URL: https://issues.apache.org/jira/browse/FLINK-41689
> Project: Flink
> Issue Type: Bug
> Components: API / Core
> Reporter: Yue Zhang
> Priority: Major
> Labels: pull-request-available
>
> Create a DataStream V2 SlotSharingGroup builder with a positive heap size and
> set its CPU count to Double.NaN or Double.POSITIVE_INFINITY. The setter and
> build() both succeed. Converting the group for use in a stream transformation
> throws NumberFormatException while constructing the CPU resource.
> The CPU setter should reject non-finite counts where the resource requirement
> is specified.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)