aboutsummaryrefslogtreecommitdiff
path: root/yarn/src
diff options
context:
space:
mode:
authoruncleGen <hustyugm@gmail.com>2016-11-25 09:10:17 +0000
committerSean Owen <sowen@cloudera.com>2016-11-25 09:10:17 +0000
commitf58a8aa20106ea36386db79a8a66f529a8da75c9 (patch)
tree14c6e4b3cd687f56b82e3d269abcfa3cac50d9f6 /yarn/src
parenta367d5ff005884322fb8bb43a1cfa4d4bf54b31a (diff)
downloadspark-f58a8aa20106ea36386db79a8a66f529a8da75c9.tar.gz
spark-f58a8aa20106ea36386db79a8a66f529a8da75c9.tar.bz2
spark-f58a8aa20106ea36386db79a8a66f529a8da75c9.zip
[SPARK-18575][WEB] Keep same style: adjust the position of driver log links
## What changes were proposed in this pull request? NOT BUG, just adjust the position of driver log link to keep the same style with other executors log link. ![image](https://cloud.githubusercontent.com/assets/7402327/20590092/f8bddbb8-b25b-11e6-9aaf-3b5b3073df10.png) ## How was this patch tested? no Author: uncleGen <hustyugm@gmail.com> Closes #16001 from uncleGen/SPARK-18575.
Diffstat (limited to 'yarn/src')
-rw-r--r--yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClusterSchedulerBackend.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClusterSchedulerBackend.scala b/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClusterSchedulerBackend.scala
index ced597bed3..4f3d5ebf40 100644
--- a/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClusterSchedulerBackend.scala
+++ b/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClusterSchedulerBackend.scala
@@ -55,8 +55,8 @@ private[spark] class YarnClusterSchedulerBackend(
val baseUrl = s"$httpScheme$httpAddress/node/containerlogs/$containerId/$user"
logDebug(s"Base URL for logs: $baseUrl")
driverLogs = Some(Map(
- "stderr" -> s"$baseUrl/stderr?start=-4096",
- "stdout" -> s"$baseUrl/stdout?start=-4096"))
+ "stdout" -> s"$baseUrl/stdout?start=-4096",
+ "stderr" -> s"$baseUrl/stderr?start=-4096"))
} catch {
case e: Exception =>
logInfo("Error while building AM log links, so AM" +