[
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)