Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/2469#discussion_r18410229
--- Diff:
yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/YarnRMClientImpl.scala
---
@@ -69,7 +74,28 @@ private class YarnRMClientImpl(args:
ApplicationMasterArguments) extends YarnRMC
appAttemptId
}
- override def getProxyHostAndPort(conf: YarnConfiguration) =
WebAppUtils.getProxyHostAndPort(conf)
+ override def getAmIpFilterParams(conf: YarnConfiguration, proxyBase:
String) = {
+ // Figure out which scheme Yarn is using. Note the method seems to
have been added after 2.2,
--- End diff --
When exactly doesn't matter; what matters is that 2.2 is the first release
in what Spark considers "stable", so if 2.2 doesn't have it, then the hack is
necessary.
---
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]