[ 
https://issues.apache.org/jira/browse/HADOOP-17467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmed Hussein updated HADOOP-17467:
-----------------------------------
    Description: 
After the optimization in HADOOP-17079, {{JniBasedUnixGroupsNetgroupMapping}} 
does not implement {{getGroupSet}}.
As a result, {{Groups.load()}} load the cache calling {{fetchGroupSet}} which 
yield to the superclass {{JniBasedUnixGroupsMapping}}.
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]

  was:
After the optimization in HADOOP-17079, {{JniBasedUnixGroupsNetgroupMapping}} 
does not implement {{getGroupSet}}.
 As a result, {{Groups.load()}} load the cache calling {{fetchGroupSet}} which 
got
 to the superclass {{JniBasedUnixGroupsMapping}}.
 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]


> netgroup-user is not added to Groups.cache
> ------------------------------------------
>
>                 Key: HADOOP-17467
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17467
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 3.4.0
>            Reporter: Ahmed Hussein
>            Assignee: Ahmed Hussein
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> After the optimization in HADOOP-17079, {{JniBasedUnixGroupsNetgroupMapping}} 
> does not implement {{getGroupSet}}.
> As a result, {{Groups.load()}} load the cache calling {{fetchGroupSet}} which 
> yield to the superclass {{JniBasedUnixGroupsMapping}}.
> 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 message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to