[ 
https://issues.apache.org/jira/browse/FLINK-34397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818627#comment-17818627
 ] 

Pulkit Jain commented on FLINK-34397:
-------------------------------------

[~chesnay] 

Is there any update on this issue? We are also facing this issue on Flink 
version - 1.16.1. Could you confirm is this issue is applicable for this 
release as well?

 

Thanks

Pulkit

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

Reply via email to