hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13965) Groups should be consistent in using group mapping class
Date Tue, 10 Jan 2017 11:33:58 GMT

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

Yiqun Lin updated HADOOP-13965:
-------------------------------
    Description: 
{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.

  was:
{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.


> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message