Yao Zhang created FLINK-35332: --------------------------------- Summary: Manually setting rest.bind-address does not work for Flink running on Hadoop Yarn dual network environment Key: FLINK-35332 URL: https://issues.apache.org/jira/browse/FLINK-35332 Project: Flink Issue Type: Bug Components: Deployment / YARN Affects Versions: 1.15.4 Reporter: Yao Zhang
Given the Hadoop Yarn cluster with dual networks: * 192.168.x.x: For data transfer. Speed: 10Gbps. * 10.x.x.x: For management only. Speed: 1Gbps. A client outside the Hadoop Yarn cluster is configured, with management network only(10.x.x.x) and data transfer high speed network not accessible. To reproduce, we sumbit a Flink job from this client(Batch word count for example), the job can be successfully submitted but the result cannot be retrieved, with the exception: Connection refused: \{jobmanager_hostname}:\{jm_port}. The root cause is the job manager rest address is bind to its actual address (192.168.x.x) rather than 0.0.0.0. Manually setting rest.bind-address does not work. One of the changes in Flink-24474 in YarnEntrypointUtils overwrites RestOptions.BIND_ADDRESS to the node's actual address. This change should be reverted. -- This message was sent by Atlassian Jira (v8.20.10#820010)