Description
Currently, groups from hadoop mapping are read only when grantedAuths from UGi is empty, but there is a case when groups synced in ugi are wrong or incomplete, in this case reading groups from hadoop ldap group mapping can help to get all groups.
consider below example for ldap user hr1 who has hadoop-users, hr, hr1 in ldap
[root@log111 ~]# id hr1
uid=1014(hr1) gid=1014(hr1) groups=1014(hr1)
groups read from UGI is hr1
----------------------------------------------------------------
[root@log111 ~]# hdfs groups hr1
hr1 : hadoop-users hr hr1
groups read from hadoop ldap group mapping
Attachments
Attachments
Issue Links
- links to