[jira] [Created] (HADOOP-15381) KmsAcls should be reloaded periodically.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (HADOOP-15381) KmsAcls should be reloaded periodically.

JIRA jira@apache.org
Rushabh S Shah created HADOOP-15381:
---------------------------------------

             Summary: KmsAcls should be reloaded periodically.
                 Key: HADOOP-15381
                 URL: https://issues.apache.org/jira/browse/HADOOP-15381
             Project: Hadoop Common
          Issue Type: Bug
          Components: kms
            Reporter: Rushabh S Shah
            Assignee: Rushabh S Shah


Currently {{KMSACLs}} is getting reloaded depending on whether {{kms-acls}} file is modified or not.
Since the access control is specified by {{AcccessControlList}}, the member may contain {{unix-group}} or {{net-group}}.
If we add a new user to any group, technically the file is not modified but the membership of a group is modified, so we need to reload the {{kms-acls}} file.
There are couple of solutions for this.
1. short-term solution: Reload the file periodically (like lets say every 15 minutes).
2. long-term solution: Implement a {{refreshUserGroupMapping}} like protocol/servlet so whenever we change membership we can invoke that protocol and we get the updates.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]