Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/2276#discussion_r17129415
--- Diff:
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala
---
@@ -188,7 +188,7 @@ private[spark] class ApplicationMaster(args:
ApplicationMasterArguments,
if (sc == null) {
finish(FinalApplicationStatus.FAILED, "Timed out waiting for
SparkContext.")
} else {
- registerAM(sc.ui.appUIHostPort)
+ registerAM(sc.ui.appUIAddress)
--- End diff --
Pulling over my comment from the previous pr -
https://github.com/apache/spark/pull/2206
This won't work with yarn alpha.
yes so unfortunately I went and verified that hadoop 0.23 can't have the
scheme. It automatically adds the scheme itself (just supports http://).
This is already calling down into stable/alpha versions of
YarnRMClientImpl.register. We could potentially pass whole uri, including
scheme and then have the alpha version strip off the scheme.
Also you modified the call in runDriver to registerAM which covers client
mode, I assume the same change needs to happen in runExecutorLauncher for yarn
client mode.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]