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

    https://github.com/apache/spark/pull/20652#discussion_r169736571
  
    --- 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 --
    
    I'm not sure this will work for local-cluster. Try `local-cluster[2, 1, 
1024]` as the master and see what happens.


---

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

Reply via email to