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 apache#16001 from uncleGen/SPARK-18575.
  • Loading branch information
uncleGen authored and Robert Kruszewski committed Dec 2, 2016
1 parent 01c4063 commit c421b2f
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 c421b2f

Please sign in to comment.