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

Yiqun Lin updated HADOOP-13965:
-------------------------------
    Status: Patch Available  (was: Open)

Attach a simple patch to fix.

> Groups should be consistent in using group mapping class
> --------------------------------------------------------
>
>                 Key: HADOOP-13965
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13965
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>
> {code:title=Groups.java}
>       public Groups(Configuration conf, final Timer timer) {
>        impl = 
>       ReflectionUtils.newInstance(
>           
> conf.getClass(CommonConfigurationKeys.HADOOP_SECURITY_GROUP_MAPPING, 
>                         ShellBasedUnixGroupsMapping.class, 
>                         GroupMappingServiceProvider.class), 
>           conf);
>       ...
> }
> {code}
> The default value of setting {{hadoop.security.group.mapping}} is different 
> in code and config file. In file {{core-default.xml}}, it uses the class 
> {{JniBasedUnixGroupsMappingWithFallback}} and this should be the true value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to