Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Like what's already done in Namenode, NFS should also do the name id mapping in a similar way, e.g., shell/ldap/composit mappings.
The difference here is that, NN does mapping from user name to group lists, while NFS from name to id.
Some problem has been found with current name-id mapping: the LDAP server has lots of user account and it returns a limited number of entries to each search request.
Current code (IdUserGroup) uses a shell command to retrieve user accounts. One shell command might not get the complete list, e.g., due to some limit set in LDAP server. Even it does, it's not necessary to cache all user account in the memory.