You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Boris Shkolnik (JIRA)" <ji...@apache.org> on 2010/12/15 23:24:01 UTC

[jira] Commented: (HADOOP-6864) Provide a JNI-based implementation of ShellBasedUnixGroupsNetgroupMapping (implementation of GroupMappingServiceProvider)

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

Boris Shkolnik commented on HADOOP-6864:
----------------------------------------

Reviewing additional changes from 0.20 patch
1. use constant for "hadoop.security.group.mapping"
2. test before and after groups.refresh(); (create a separate validate method).
+1 otherwise.

NOTE.
This patch needs to be run MANUALLY by setting up unix files (/etc/netgroup and so on). For details please see the comments in the test itself.

> Provide a JNI-based implementation of ShellBasedUnixGroupsNetgroupMapping (implementation of GroupMappingServiceProvider)
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6864
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6864
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Erik Steffl
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6864-0.20.1xx-1.patch, HADOOP-6864-0.20.1xx.patch, HADOOP-6864-0.22.patch
>
>
> The netgroups implementation of GroupMappingServiceProvider (see ShellBasedUnixGroupsNetgroupMapping.java) does a fork of a unix command to get the netgroups of a user. Since the group resolution happens in the servers, this might be costly. This jira aims at providing a JNI-based implementation for GroupMappingServiceProvider.
> Note that this is similar to what https://issues.apache.org/jira/browse/HADOOP-6818 does for implementation of GroupMappingServiceProvider that  supports only unix groups.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.