hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7147) setnetgrent in native code is not portable
Date Thu, 02 Feb 2012 16:48:51 GMT

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

Allen Wittenauer commented on HADOOP-7147:

There is so much broken in the native code that ships with Hadoop with regards to portability
that it isn't worth spending the time to fix.  A major attitude shift really needs to happen
first.  So while I had a working libhadoop.so for OS X, Solaris, and other OSes for hadoop
0.20.20x (and I've been too busy fixing bugs 1.x to bring them up to date to 1.x), I don't
feel particularly compelled to contribute the patches because they are just going to rot like
this one did.
> setnetgrent in native code is not portable
> ------------------------------------------
>                 Key: HADOOP-7147
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7147
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Allen Wittenauer
>         Attachments: hadoop-7147.patch
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message