You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/02/09 14:54:00 UTC
[jira] [Created] (FLINK-26059) ResourceProfile#ANY can cause overflow exceptions
Chesnay Schepler created FLINK-26059:
----------------------------------------
Summary: ResourceProfile#ANY can cause overflow exceptions
Key: FLINK-26059
URL: https://issues.apache.org/jira/browse/FLINK-26059
Project: Flink
Issue Type: Technical Debt
Components: Runtime / Coordination
Affects Versions: 1.15.0
Reporter: Chesnay Schepler
ResourceProfile#ANY uses MemorySize.MAX_VALUE for all memory settings. Some of the getters add up some of the memory profiles, causing an overflow.
This implies that you must never access any getter without first comparing a resource profile against the ANY singleton.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)