You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "lincoln lee (Jira)" <ji...@apache.org> on 2024/03/11 12:39:07 UTC

[jira] [Updated] (FLINK-34397) Resource wait timeout can't be disabled

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

lincoln lee updated FLINK-34397:
--------------------------------
    Fix Version/s: 1.20.0

> Resource wait timeout can't be disabled
> ---------------------------------------
>
>                 Key: FLINK-34397
>                 URL: https://issues.apache.org/jira/browse/FLINK-34397
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Configuration
>    Affects Versions: 1.17.2
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.19.0, 1.17.3, 1.18.2, 1.20.0
>
>
> The documentation for {{jobmanager.adaptive-scheduler.resource-wait-timeout}} states that:
> ??Setting a negative duration will disable the resource timeout: The JobManager will wait indefinitely for resources to appear.??
> However, we don't support parsing negative durations.
> {code}
> Could not parse value '-1 s' for key 'jobmanager.adaptive-scheduler.resource-wait-timeout'.
> Caused by: java.lang.NumberFormatException: text does not start with a number
> 	at org.apache.flink.util.TimeUtils.parseDuration(TimeUtils.java:80)
> 	at org.apache.flink.configuration.ConfigurationUtils.convertToDuration(ConfigurationUtils.java:399)
> 	at org.apache.flink.configuration.ConfigurationUtils.convertValue(ConfigurationUtils.java:331)
> 	at org.apache.flink.configuration.Configuration.lambda$getOptional$3(Configuration.java:729)
> 	at java.base/java.util.Optional.map(Optional.java:260)
> 	at org.apache.flink.configuration.Configuration.getOptional(Configuration.java:729)
> 	... 2 more
> {code}



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