spark-instrumented-optimizer/resource-managers
Gera Shegalov c0964935d6 [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/
```

Author: Gera Shegalov <gera@apache.org>

Closes #21047 from gerashegalov/gera/am-to-rm-nmhost.
2018-04-16 12:01:42 +08:00
..
kubernetes [SPARK-22839][K8S] Refactor to unify driver and executor pod builder APIs 2018-04-13 08:43:58 -07:00
mesos [SPARK-22941][CORE] Do not exit JVM when submit fails with in-process launcher. 2018-04-11 10:13:44 -05:00
yarn [SPARK-23956][YARN] Use effective RPC port in AM registration 2018-04-16 12:01:42 +08:00