Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/8398#discussion_r37873720
--- Diff: core/src/main/scala/org/apache/spark/SecurityManager.scala ---
@@ -310,7 +310,13 @@ private[spark] class SecurityManager(sparkConf:
SparkConf)
setViewAcls(Set[String](defaultUser), allowedUsers)
}
- def getViewAcls: String = viewAcls.mkString(",")
+ def getViewAcls: String = {
+ if (viewAcls.contains("*")) {
--- End diff --
It would be good here to put a comment that YARN requires only a * to be
returned. you can't have *,user1,user2 to explain why we do this
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]