hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7367) getgrouplist() in getGroup.c is not portable
Date Wed, 08 Jun 2011 17:21:58 GMT

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

Allen Wittenauer commented on HADOOP-7367:

A few points:

* The inclusion of this routine is preventing the native code from being compiled on platforms
where it previously worked.

* We have multiple ways to try to solve this:
a) Rewrite the entire routine to remove the dependency on getgrouplist()
b) Do auto-detection to use the built-in getgrouplist, otherwise use one we supply
c) Use the current version when getgrouplist is present, otherwise use a completely different
code stream that uses getgrent() etc.

> getgrouplist() in getGroup.c is not portable
> --------------------------------------------
>                 Key: HADOOP-7367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7367
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 0.22.0, 0.23.0
>         Environment: System V
>            Reporter: Allen Wittenauer
> getGroupIDList uses getgrouplist() to fetch the groups for a user.  Unfortunately, this
routine is a BSD-specific call and is not present in most System V-based operating systems.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message