HADOOP-13965. Groups should be consistent in using default group mapping class. Contributed by Yiqun Lin.

This commit is contained in:
Yiqun Lin 2017-01-19 09:42:56 +08:00
parent 2bf4c6e2d6
commit 383aa9c9f5
1 changed files with 5 additions and 6 deletions

View File

@ -103,10 +103,9 @@ public class Groups {
}
public Groups(Configuration conf, final Timer timer) {
impl =
ReflectionUtils.newInstance(
impl = ReflectionUtils.newInstance(
conf.getClass(CommonConfigurationKeys.HADOOP_SECURITY_GROUP_MAPPING,
ShellBasedUnixGroupsMapping.class,
JniBasedUnixGroupsMappingWithFallback.class,
GroupMappingServiceProvider.class),
conf);