Description
Because the protocol -> ACL mapping in ServiceAuthorizationManager is static, services which are run in the same JVM have the potential to clobber the other's service authorization ACLs whenever ServiceAuthorizationManager.refresh() is called. This causes authorization failures if one tries to launch a 2NN connected to a minicluster with hadoop.security.authorization enabled. Seems like each service should have its own instance of a ServiceAuthorizationManager, instead of using static methods.
Attachments
Attachments
Issue Links
- incorporates
-
HDFS-1399 Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies
- Closed
-
MAPREDUCE-2067 Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies
- Closed