Skip to content

Commit 0ac52e3

Browse files
WangTaoTheTonictgravescs
authored andcommitted
[SPARK-4098][YARN]use appUIAddress instead of appUIHostPort in yarn-client mode
https://issues.apache.org/jira/browse/SPARK-4098 Author: WangTaoTheTonic <[email protected]> Closes #2958 from WangTaoTheTonic/useAddress and squashes the following commits: 29236e6 [WangTaoTheTonic] use appUIAddress instead of appUIHostPort in yarn-cluster mode
1 parent e8813be commit 0ac52e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private[spark] class YarnClientSchedulerBackend(
4848
val driverHost = conf.get("spark.driver.host")
4949
val driverPort = conf.get("spark.driver.port")
5050
val hostport = driverHost + ":" + driverPort
51-
sc.ui.foreach { ui => conf.set("spark.driver.appUIAddress", ui.appUIHostPort) }
51+
sc.ui.foreach { ui => conf.set("spark.driver.appUIAddress", ui.appUIAddress) }
5252

5353
val argsArrayBuf = new ArrayBuffer[String]()
5454
argsArrayBuf += ("--arg", hostport)

0 commit comments

Comments
 (0)