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

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

Navin Viswanath created FLINK-38449:
---------------------------------------

             Summary: 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


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)