Chesnay Schepler created FLINK-34397:
----------------------------------------
Summary: 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
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)