Github user dbolshak commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19640#discussion_r148750407
  
    --- 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 = {
    --- End diff --
    
    I would write it like
    ```
    def timeZone: TimeZone = 
TimeZone.getTimeZone(sparkConf.get("spark.history.timeZone", "GMT"))
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to