[ https://issues.apache.org/jira/browse/HADOOP-13965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yiqun Lin updated HADOOP-13965: ------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed to trunk. Thanks [~ajisakaa] for the review. > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org