Chesnay Schepler created FLINK-27954:
----------------------------------------
Summary: JobVertexFlameGraphHandler does not work on standby
Dispatcher
Key: FLINK-27954
URL: https://issues.apache.org/jira/browse/FLINK-27954
Project: Flink
Issue Type: Bug
Components: Runtime / Coordination, Runtime / REST
Affects Versions: 1.15.0
Reporter: Chesnay Schepler
Fix For: 1.15.2, 1.16.0
The {{JobVertexFlameGraphHandler}} relies internally on the
{{JobVertexThreadInfoTracker}} which calls
{{ResourceManagerGateway#requestTaskExecutorThreadInfoGateway}} to get a
gateway for requesting the thread info from the task executors. Since this
gateway is not serializable it would categorically fail if called from a
standby dispatcher.
Instead this should follow the logic of the {{MetricFetcherImpl}}, which
requests addresses instead and manually connectors to the task executors.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)