We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a37ed8 commit cf973a1Copy full SHA for cf973a1
core/src/main/scala/org/apache/spark/SecurityManager.scala
@@ -162,7 +162,7 @@ private[spark] class SecurityManager(sparkConf: SparkConf) extends Logging {
162
163
// always add the current user and SPARK_USER to the viewAcls
164
private val defaultAclUsers = Set[String](System.getProperty("user.name", ""),
165
- Option(System.getenv("SPARK_USER")).getOrElse(""))
+ Option(System.getenv("SPARK_USER")).getOrElse("")).filter(_ != "")
166
167
setViewAcls(defaultAclUsers, sparkConf.get("spark.ui.view.acls", ""))
168
setModifyAcls(defaultAclUsers, sparkConf.get("spark.modify.acls", ""))
0 commit comments