[jira] [Created] (FLINK-16884) The "rest.port" configuration is always "0" with flink-yarn jobs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16884) The "rest.port" configuration is always "0" with flink-yarn jobs

Shang Yuanchun (Jira)
Victor Wong created FLINK-16884:
-----------------------------------

             Summary: The "rest.port" configuration is always "0" with flink-yarn jobs
                 Key: FLINK-16884
                 URL: https://issues.apache.org/jira/browse/FLINK-16884
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Web Frontend
    Affects Versions: 1.10.0
            Reporter: Victor Wong


We would like to get the "rest.port" value with flink rest api ["/jobmanager/config" | https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/rest_api.html], but it is always "0" in the returned json content, which is not the real port.

Since the "rest.port" is dynamically assigned, we could update the value after the `WebMonitorEndpoint` is started.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)