diff options
author | Thomas Graves <tgraves@apache.org> | 2014-04-11 13:17:48 +0530 |
---|---|---|
committer | Thomas Graves <tgraves@apache.org> | 2014-04-11 10:27:37 -0500 |
commit | 9e90c464dec3258b57ecad828d7a8609eb5528aa (patch) | |
tree | b535c716d4b95b61bc2e1d4ad40a205587644abf /yarn/stable | |
parent | a1bb4c695872ce512f18ec4a91fd430abc850ae9 (diff) | |
download | spark-9e90c464dec3258b57ecad828d7a8609eb5528aa.tar.gz spark-9e90c464dec3258b57ecad828d7a8609eb5528aa.tar.bz2 spark-9e90c464dec3258b57ecad828d7a8609eb5528aa.zip |
SPARK-1417: Spark on Yarn - spark UI link from resourcemanager is broken
Author: Thomas Graves <tgraves@apache.org>
Closes #344 from tgravescs/SPARK-1417 and squashes the following commits:
c450b5f [Thomas Graves] fix test
e1c1d7e [Thomas Graves] add missing $ to appUIAddress
e982ddb [Thomas Graves] use appUIHostPort in appUIAddress
0803ec2 [Thomas Graves] Review comment updates - remove extra newline, simplify assert in test
658a8ec [Thomas Graves] Add a appUIHostPort routine
0614208 [Thomas Graves] Fix test
2a6b1b7 [Thomas Graves] SPARK-1417: Spark on Yarn - spark UI link from resourcemanager is broken
Diffstat (limited to 'yarn/stable')
-rw-r--r-- | yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala b/yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala index c8a4d2e647..61af0f9ac5 100644 --- a/yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala +++ b/yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala @@ -220,7 +220,7 @@ class ApplicationMaster(args: ApplicationMasterArguments, conf: Configuration, assert(sparkContext != null || numTries >= maxNumTries) if (sparkContext != null) { - uiAddress = sparkContext.ui.appUIAddress + uiAddress = sparkContext.ui.appUIHostPort this.yarnAllocator = YarnAllocationHandler.newAllocator( yarnConf, amClient, |