hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13965) Groups should be consistent in using default group mapping class
Date Thu, 19 Jan 2017 02:44:26 GMT

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

Hudson commented on HADOOP-13965:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11138 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11138/])
HADOOP-13965. Groups should be consistent in using default group mapping (yqlin: rev 383aa9c9f55983cdb1c225b2ed22f6f48616cb9c)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/Groups.java


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


Mime
View raw message