[SPARK-8387] [WEBUI] Only show 4096 bytes content for executor log instead of show all
Author: hushan[胡珊] <hushan@xiaomi.com> Closes #6834 from suyanNone/small-display and squashes the following commits: 744212f [hushan[胡珊]] Only show 4096 bytes content for executor log instead all
This commit is contained in:
parent
658814c898
commit
29c5025a70
|
@ -303,8 +303,8 @@ class ExecutorRunnable(
|
|||
val address = container.getNodeHttpAddress
|
||||
val baseUrl = s"$httpScheme$address/node/containerlogs/$containerId/$user"
|
||||
|
||||
env("SPARK_LOG_URL_STDERR") = s"$baseUrl/stderr?start=0"
|
||||
env("SPARK_LOG_URL_STDOUT") = s"$baseUrl/stdout?start=0"
|
||||
env("SPARK_LOG_URL_STDERR") = s"$baseUrl/stderr?start=-4096"
|
||||
env("SPARK_LOG_URL_STDOUT") = s"$baseUrl/stdout?start=-4096"
|
||||
}
|
||||
|
||||
System.getenv().filterKeys(_.startsWith("SPARK")).foreach { case (k, v) => env(k) = v }
|
||||
|
|
Loading…
Reference in a new issue