Yue Zhang created FLINK-41689:
---------------------------------
Summary: 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
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)