diff options
author | Thomas Graves <tgraves@apache.org> | 2014-04-11 13:17:48 +0530 |
---|---|---|
committer | Mridul Muralidharan <mridulm80@apache.org> | 2014-04-11 13:17:48 +0530 |
commit | 446bb3417a2855a194d49acc0ac316a021eced9d (patch) | |
tree | b535c716d4b95b61bc2e1d4ad40a205587644abf /yarn/stable/src | |
parent | 44f654eecd3c181f2aeaff3871acf7f00eacc6b9 (diff) | |
download | spark-446bb3417a2855a194d49acc0ac316a021eced9d.tar.gz spark-446bb3417a2855a194d49acc0ac316a021eced9d.tar.bz2 spark-446bb3417a2855a194d49acc0ac316a021eced9d.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/src')
-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, |