You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/07 02:19:00 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 ]

ASF GitHub Bot updated FLINK-27144:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Assignee: Lijie Wang
>            Priority: Major
>              Labels: pull-request-available
>             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)