You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Rushabh S Shah (JIRA)" <ji...@apache.org> on 2018/04/11 20:55:00 UTC

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

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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org