diff options
author | WangTaoTheTonic <barneystinson@aliyun.com> | 2014-10-28 09:51:44 -0500 |
---|---|---|
committer | Thomas Graves <tgraves@apache.org> | 2014-10-28 09:51:44 -0500 |
commit | 0ac52e30552530b247e37a470b8503346f19605c (patch) | |
tree | 0b43d7489bee9f8de683536e5c4d8349da672094 /yarn/common | |
parent | e8813be6539aba1cd1f8854c204b7938464403ed (diff) | |
download | spark-0ac52e30552530b247e37a470b8503346f19605c.tar.gz spark-0ac52e30552530b247e37a470b8503346f19605c.tar.bz2 spark-0ac52e30552530b247e37a470b8503346f19605c.zip |
[SPARK-4098][YARN]use appUIAddress instead of appUIHostPort in yarn-client mode
https://issues.apache.org/jira/browse/SPARK-4098
Author: WangTaoTheTonic <barneystinson@aliyun.com>
Closes #2958 from WangTaoTheTonic/useAddress and squashes the following commits:
29236e6 [WangTaoTheTonic] use appUIAddress instead of appUIHostPort in yarn-cluster mode
Diffstat (limited to 'yarn/common')
-rw-r--r-- | yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala b/yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala index d948a2aeed..59b2b47aed 100644 --- a/yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala +++ b/yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala @@ -48,7 +48,7 @@ private[spark] class YarnClientSchedulerBackend( val driverHost = conf.get("spark.driver.host") val driverPort = conf.get("spark.driver.port") val hostport = driverHost + ":" + driverPort - sc.ui.foreach { ui => conf.set("spark.driver.appUIAddress", ui.appUIHostPort) } + sc.ui.foreach { ui => conf.set("spark.driver.appUIAddress", ui.appUIAddress) } val argsArrayBuf = new ArrayBuffer[String]() argsArrayBuf += ("--arg", hostport) |