[
https://issues.apache.org/jira/browse/FLINK-18245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17327780#comment-17327780
]
Flink Jira Bot commented on FLINK-18245:
----------------------------------------
This major issue is unassigned and itself and all of its Sub-Tasks have not
been updated for 30 days. So, it has been labeled "stale-major". If this ticket
is indeed "major", please either assign yourself or give an update. Afterwards,
please remove the label. In 7 days the issue will be deprioritized.
> Support to parse -1 for MemorySize and Duration ConfigOption
> ------------------------------------------------------------
>
> Key: FLINK-18245
> URL: https://issues.apache.org/jira/browse/FLINK-18245
> Project: Flink
> Issue Type: New Feature
> Components: API / Core
> Reporter: Jark Wu
> Priority: Major
> Labels: stale-major
>
> Currently, MemorySize and Duration ConfigOption doesn't support to parse
> {{-1}} or {{-1s}}.
> {code:java}
> java.lang.NumberFormatException: text does not start with a number
> at
> org.apache.flink.configuration.MemorySize.parseBytes(MemorySize.java:294)
> {code}
> That makes us can't to use {{-1}} as a disabled value, and have to use {{0}}
> which may confuse users at some senarios.
> There is some discussion around this topic in
> :https://github.com/apache/flink/pull/12536#discussion_r438019632
--
This message was sent by Atlassian Jira
(v8.3.4#803005)