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-7147) Native code does not build on BSD/OSX
Date Tue, 07 Jun 2011 21:17:04 GMT

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

Allen Wittenauer commented on HADOOP-7147:
------------------------------------------

Actually, we probably want to ignore the call anyway.  Looks like setnetgrent suffers from
some really bizarro portability issues. On Linux, setnetgrent returns 1 on success.  On Solaris,
it returns 0.  

There is a side issue as well, at least on Solaris, where setnetgrent() will actually reset
for *all* threads that are in the midst of enumerating netgroups.  I haven't verified if this
is true on Linux or other platforms.

> Native code does not build on BSD/OSX
> -------------------------------------
>
>                 Key: HADOOP-7147
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7147
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>
> HADOOP-6864 uses the setnetgrent function in a way which is not compatible with BSD APIs,
where the call returns void rather than int. This prevents the native libs from building on
OSX, for example.

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

Mime
View raw message