GitHub user gerashegalov opened a pull request: https://github.com/apache/spark/pull/21047
[SPARK-23956][YARN] Use effective RPC port in AM registration ## What changes were proposed in this pull request? We propose not to hard-code the RPC port in the AM registration. ## How was this patch tested? Tested application reports from a pseudo-distributed cluster ``` 18/04/10 14:56:21 INFO Client: client token: N/A diagnostics: N/A ApplicationMaster host: localhost ApplicationMaster RPC port: 58338 queue: default start time: 1523397373659 final status: UNDEFINED tracking URL: http://localhost:8088/proxy/application_1523370127531_0016/ ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/gerashegalov/spark gera/am-to-rm-nmhost Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21047.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21047 ---- commit cc67ccb5f2553ecbc5a76fe21b97034576535333 Author: Gera Shegalov <gera@...> Date: 2018-04-10T22:22:18Z [SPARK-23956][YARN] Use effective RPC port in AM registration ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org