Details
-
Bug
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
3.4.0
-
None
Description
After the optimization in HADOOP-17079, both JniBasedUnixGroupsNetgroupMapping and ShellBasedUnixGroupsNetgroupMapping do not implement getGroupSet.
As a result, Groups.load() load the cache calling fetchGroupSet which yield to the superclass JniBasedUnixGroupsMapping / ShellBasedUnixGroupsMapping.
In other words, the groups mapping will never fetch from NetgroupCache.
This alters the behavior of the implementation. Is there a reason to bypass loading. CC: xyao
This jira is to add missing implementation getGroupSet to JniBasedUnixGroupsNetgroupMapping and ShellBasedUnixGroupsNetgroupMapping .
Attachments
Issue Links
- is caused by
-
HADOOP-17079 Optimize UGI#getGroups by adding UGI#getGroupsSet
- Resolved
- is required by
-
HADOOP-17481 Groups user mapping based on Netgroup do not auto-refresh
- Open
-
HADOOP-17488 Race condition refreshing NetgroupCache
- Open
-
HADOOP-17485 port UGI#getGroupsSet optimizations into 2.10
- In Progress
- links to