Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/2276#discussion_r17311692
--- Diff:
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala
---
@@ -189,7 +189,11 @@ private[spark] class ApplicationMaster(args:
ApplicationMasterArguments,
if (sc == null) {
finish(FinalApplicationStatus.FAILED, "Timed out waiting for
SparkContext.")
} else {
- registerAM(sc.ui.appUIHostPort, securityMgr)
+ var uiAddress = sc.ui.appUIHostPort
+ if (yarnConf.get("yarn.http.policy").equals("HTTPS_ONLY")) {
--- End diff --
Actually the yarn versioning thing is: Alpha is branch 0.23 and 2.x up til
2.1.x .
stable is 2.2.x and beyond
see
http://spark.apache.org/docs/latest/building-with-maven.html#specifying-the-hadoop-version
since YARN-1203 went into 2.2 its fine to only special case in alpha but do
the easy thing for stable.
---
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]