You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/11/25 09:10:20 UTC

spark git commit: [SPARK-18575][WEB] Keep same style: adjust the position of driver log links

Repository: spark
Updated Branches:
  refs/heads/master a367d5ff0 -> f58a8aa20


[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 <hu...@gmail.com>

Closes #16001 from uncleGen/SPARK-18575.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f58a8aa2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f58a8aa2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f58a8aa2

Branch: refs/heads/master
Commit: f58a8aa20106ea36386db79a8a66f529a8da75c9
Parents: a367d5f
Author: uncleGen <hu...@gmail.com>
Authored: Fri Nov 25 09:10:17 2016 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Nov 25 09:10:17 2016 +0000

----------------------------------------------------------------------
 .../spark/scheduler/cluster/YarnClusterSchedulerBackend.scala    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f58a8aa2/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClusterSchedulerBackend.scala
----------------------------------------------------------------------
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 ced597b..4f3d5eb 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" +


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org