You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/09/27 20:27:00 UTC

[jira] [Updated] (FLINK-38449) Makes error message for fractional values for MemorySize explicit

     [ https://issues.apache.org/jira/browse/FLINK-38449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-38449:
-----------------------------------
    Labels: pull-request-available  (was: )

> Makes error message for fractional values for MemorySize explicit
> -----------------------------------------------------------------
>
>                 Key: FLINK-38449
>                 URL: https://issues.apache.org/jira/browse/FLINK-38449
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Core
>    Affects Versions: 2.1.0
>            Reporter: Navin Viswanath
>            Priority: Major
>              Labels: pull-request-available
>
> Currently the memory size configuration for any memory-related configuration does not support fractional values like 1.5g for eg. The exception that is generated comes from failing to parse the unit ".5g" since the 1 is parsed out as the number. 
> Using the flink kubernetes operator the only exception we see is that: 
> {noformat}
> Cannot read memory size from config option <option>{noformat}
> Its not obvious that the fractional value is what was invalid. As a follow-up need to update the flink kubernetes operator to show the actual cause of the issue. The operator currently does not show this.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)