Github user dbolshak commented on a diff in the pull request:
https://github.com/apache/spark/pull/19640#discussion_r148750999
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala
---
@@ -426,6 +426,10 @@ class SparkHadoopUtil extends Logging {
ugi.getAuthenticationMethod() ==
UserGroupInformation.AuthenticationMethod.PROXY
}
+ def getTimeZone: TimeZone = {
+ TimeZone.getTimeZone(sparkConf.get("spark.history.timeZone", "GMT"))
--- End diff --
It's a bit confusing using `spark.history.timeZone` property in getTimeZone
method of SparkHadoopUtil.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]