-
Type:
Bug
-
Status: In Progress
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.4.0
-
Fix Version/s: None
-
Component/s: security
-
Labels:
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: Xiaoyu Yao
This jira is to add missing implementation getGroupSet to JniBasedUnixGroupsNetgroupMapping and ShellBasedUnixGroupsNetgroupMapping .
- 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