hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Steffl (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6864) Provide a JNI-based implementation of ShellBasedUnixGroupsNetgroupMapping (implementation of GroupMappingServiceProvider)
Date Fri, 24 Dec 2010 00:09:46 GMT

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

Erik Steffl commented on HADOOP-6864:
-------------------------------------

HADOOP-6864-0.22-3.patch also applies to common-trunk:

  - test-patch +1 (no minus ones)

  - unit test passes (TestAccessControlList using both implementations classes ShellBasedUnixGroupsNetgroupMapping
and JniBasedUnixGroupsNetgroupMapping)

  - ant test succeeds

FYI:

Suspicious but unrelated test failures:

    - TestTFileByteArrays
    - TestTFileJClassComparatorByteArrays

These tests fail only if native-compile is done, with or without patch. As far as I can tell
this is not related to patch but maybe we should take a look at the tests and see why they
fail if native code is compiled.

> 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-1.patch,
HADOOP-6864-0.22-2.patch, HADOOP-6864-0.22-3.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.


Mime
View raw message