From 57dbc682dfafc87076dcaafd29c637cb16ace91a Mon Sep 17 00:00:00 2001 From: uncleGen <hustyugm@gmail.com> Date: Fri, 25 Nov 2016 09:10:17 +0000 Subject: [PATCH] [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.  ## How was this patch tested? no Author: uncleGen <hustyugm@gmail.com> Closes #16001 from uncleGen/SPARK-18575. (cherry picked from commit f58a8aa20106ea36386db79a8a66f529a8da75c9) Signed-off-by: Sean Owen <sowen@cloudera.com> --- .../spark/scheduler/cluster/YarnClusterSchedulerBackend.scala | 4 ++-- 1 file 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" + -- GitLab