Skip to content

Commit

Permalink
MapR [SPARK-627] SparkHistoryServer-2.4 is getting 403 Unauthorized h…
Browse files Browse the repository at this point in the history
…ome page for users(spark.ui.view.acls) via spark-submit (apache#594)
  • Loading branch information
ekrivokonmapr authored Nov 15, 2019
1 parent b0d5ee9 commit c99e9c9
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,7 @@ object HistoryServer extends Logging {
config.set("spark.ui.acls.enable", "false")
}

val secManager = new SecurityManager(config)
secManager.setAcls(config.getBoolean("spark.history.ui.acls.enable", false))
secManager.setAdminAcls(config.get("spark.history.ui.admin.acls", ""))
secManager.setAdminAclsGroups(config.get("spark.history.ui.admin.acls.groups", ""))
secManager
new SecurityManager(config)
}

def initSecurity() {
Expand Down

0 comments on commit c99e9c9

Please sign in to comment.