From 4a4c3dc9ca10e52f7981b225ec44e97247986905 Mon Sep 17 00:00:00 2001 From: jerryshao Date: Fri, 6 Jan 2017 10:07:54 -0600 Subject: [SPARK-19033][CORE] Add admin acls for history server ## What changes were proposed in this pull request? Current HistoryServer's ACLs is derived from application event-log, which means the newly changed ACLs cannot be applied to the old data, this will become a problem where newly added admin cannot access the old application history UI, only the new application can be affected. So here propose to add admin ACLs for history server, any configured user/group could have the view access to all the applications, while the view ACLs derived from application run-time still take effect. ## How was this patch tested? Unit test added. Author: jerryshao Closes #16470 from jerryshao/SPARK-19033. --- docs/monitoring.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs') diff --git a/docs/monitoring.md b/docs/monitoring.md index 37e50a57f7..e918174e2b 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -169,6 +169,28 @@ The history server can be configured as follows: If disabled, no access control checks are made. + + spark.history.ui.admin.acls + empty + + Comma separated list of users/administrators that have view access to all the Spark applications in + history server. By default only the users permitted to view the application at run-time could + access the related application history, with this, configured users/administrators could also + have the permission to access it. + Putting a "*" in the list means any user can have the privilege of admin. + + + + spark.history.ui.admin.acls.groups + empty + + Comma separated list of groups that have view access to all the Spark applications in + history server. By default only the groups permitted to view the application at run-time could + access the related application history, with this, configured groups could also + have the permission to access it. + Putting a "*" in the list means any group can have the privilege of admin. + + spark.history.fs.cleaner.enabled false -- cgit v1.2.3