[ 
https://issues.apache.org/jira/browse/HADOOP-13965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15818030#comment-15818030
 ] 

Yiqun Lin commented on HADOOP-13965:
------------------------------------

Hi [~ajisakaa], could you please provide a review? Thanks for that.

> Groups should be consistent in using default 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
>         Attachments: HADOOP-13965.001.patch
>
>
> {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.
> {code}
> <property>
>   <name>hadoop.security.group.mapping</name>
>  
> <value>org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback</value>
>   <description>
>     Class for user to group mapping (get groups for a given user) for ACL.
>     The default implementation,
>     org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback,
>     will determine if the Java Native Interface (JNI) is available.....
>   </description>
> </property>
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to