Skip to content

Commit

Permalink
[SPARK-18575][WEB] Keep same style: adjust the position of driver log…
Browse files Browse the repository at this point in the history
… 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 <[email protected]>

Closes #16001 from uncleGen/SPARK-18575.

(cherry picked from commit f58a8aa)
Signed-off-by: Sean Owen <[email protected]>
  • Loading branch information
uncleGen authored and srowen committed Nov 25, 2016
1 parent a7f4145 commit 57dbc68
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down

0 comments on commit 57dbc68

Please sign in to comment.