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

    https://github.com/apache/spark/pull/20652#discussion_r169797492
  
    --- Diff: core/src/main/scala/org/apache/spark/SecurityManager.scala ---
    @@ -529,7 +529,8 @@ private[spark] class SecurityManager(
           return
         }
     
    -    if (sparkConf.get(SparkLauncher.SPARK_MASTER, null) != "yarn") {
    +    val master = sparkConf.get(SparkLauncher.SPARK_MASTER, "")
    --- End diff --
    
    Nice catch! I've enhanced the test and fixed the issue.


---

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

Reply via email to