Dhruv Patel created FLINK-27590: ----------------------------------- Summary: Provide endpoint with information about leader Jobmanager in HA setups via Zookeeper Key: FLINK-27590 URL: https://issues.apache.org/jira/browse/FLINK-27590 Project: Flink Issue Type: Improvement Components: Runtime / REST Affects Versions: 1.15.0, 1.14.0 Reporter: Dhruv Patel Attachments: error.log
In High Availability setups via Zookeeper, it would be nice to provide information about the leader jobmanager. Although, the job submission and all the operations can be performed via any jobmanager. It would be nice to expose data about leader jobmanager due to following reasons * Since there are multiple job managers in HA setup, each of them will expose a web ui and a rest endpoint. It is difficult to know which of the endpoint is backed by active jobmanager. Moreover, we cannot access the taskmanager logs from the flink ui exposed by the standby jobmanager. [^error.log] * If the flink UI/REST endpoint is fronted by a Load Balancer, it would be nice to detect active jobmanager so that all the UI requests can be routed to the active jobmanager to avoid having issues in accessing logs -- This message was sent by Atlassian Jira (v8.20.7#820007)