[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.
This commit is contained in:
parent
a367d5ff00
commit
f58a8aa201
|
@ -55,8 +55,8 @@ private[spark] class YarnClusterSchedulerBackend(
|
||||||
val baseUrl = s"$httpScheme$httpAddress/node/containerlogs/$containerId/$user"
|
val baseUrl = s"$httpScheme$httpAddress/node/containerlogs/$containerId/$user"
|
||||||
logDebug(s"Base URL for logs: $baseUrl")
|
logDebug(s"Base URL for logs: $baseUrl")
|
||||||
driverLogs = Some(Map(
|
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 {
|
} catch {
|
||||||
case e: Exception =>
|
case e: Exception =>
|
||||||
logInfo("Error while building AM log links, so AM" +
|
logInfo("Error while building AM log links, so AM" +
|
||||||
|
|
Loading…
Reference in a new issue