You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2023/03/23 08:52:16 UTC
[jira] [Updated] (FLINK-27144) Provide timeout details when calling FutureUtils.orTimeout
[ https://issues.apache.org/jira/browse/FLINK-27144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xintong Song updated FLINK-27144:
---------------------------------
Fix Version/s: 1.18.0
(was: 1.17.0)
> Provide timeout details when calling FutureUtils.orTimeout
> ----------------------------------------------------------
>
> Key: FLINK-27144
> URL: https://issues.apache.org/jira/browse/FLINK-27144
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination, Runtime / REST
> Affects Versions: 1.13.6, 1.14.4, 1.15.0, 1.16.0
> Reporter: Roman Khachatryan
> Priority: Major
> Fix For: 1.18.0
>
>
> There are two versions of FutureUtils.orTimeout() that use null as an error message when the timeout happens. They are used by (in 1.16):
> * DefaultScheduler.registerProducedPartitions
> * DeclarativeSlotPoolBridge.internalRequestNewSlot
> * CompletedOperationCache.closeAsync
> * TaskManagerRunner.onFatalError
> * RestClusterClient.getWebMonitorBaseUrl
> This makes it difficult to debug those timeouts, in particular during the shutdown. See [this|https://lists.apache.org/thread/5wxv2occohc6ky1g754n7o8b8ssjcqf5] thread for example.
>
> Replacing null with an actual message ease improve the debugging; the message could be made mandatory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)