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

Yuepeng Pan commented on FLINK-41689:
-------------------------------------

Merged into master (2.5.0) via: a5b2832945e5f09b23c8444e015bcc5e38e008d9

> 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
>            Assignee: Yue Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.5.0
>
>
> 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)

Reply via email to