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 "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org> on 2012/02/01 04:23:09 UTC

[jira] [Updated] (HADOOP-7147) setnetgrent in native code is not portable

     [ https://issues.apache.org/jira/browse/HADOOP-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-7147:
----------------------------------------

    Status: Open  (was: Patch Available)

Canceling the patch as it no longer applies to trunk or 0.23.  The patch looks like it could easily be upmerged if it is still an issue.
                
> 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.23.0, 0.22.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