Yiqun Lin created HADOOP-13965:
----------------------------------

             Summary: 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 the core-default.xml, it uses the class 
{{JniBasedUnixGroupsMappingWithFallback}} and this should be a true.



--
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