hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9648) Fix build native library on mac osx
Date Fri, 06 Dec 2013 09:51:40 GMT

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

Binglin Chang updated HADOOP-9648:

    Attachment: HADOOP-9648.v2.patch

Fix some issues of the original patch and fix related test failures in test-container-executor,
1. Issue: setnetgrent is deleted in original code, this is not right, we don't need if  test
but still need to call setnetgrent
2. Issue: mkdirs skip create dir if the path exists, but if the path is a file, it can still
succeed. Fix: change the whole implementation, mkdirat, openat is not needed anymore
3. LOGIN_NAME_MAX is not present in macos, changed to use sysconf
4. fcloseall is not present in macos, changed to close opened fds(stdin, stdout, stderr)
5. macos/freebsd do not have cgroup, disable and print error message
test-container-executer issues:
6. macosx do not have user bin, skip a test
7. macosx /etc/passwd is not real path(have symlink), changed to /bin/ls

Now compile with native and test-container-executor can run successfully in my macbook.

> Fix build native library on mac osx
> -----------------------------------
>                 Key: HADOOP-9648
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9648
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1.0.4, 1.2.0, 1.1.2, 2.0.5-alpha
>            Reporter: Kirill A. Korinskiy
>         Attachments: HADOOP-9648-native-osx.1.0.4.patch, HADOOP-9648-native-osx.1.1.2.patch,
HADOOP-9648-native-osx.1.2.0.patch, HADOOP-9648-native-osx.2.0.5-alpha-rc1.patch, HADOOP-9648.v2.patch
> Some patches for fixing build a hadoop native library on os x 10.7/10.8.

This message was sent by Atlassian JIRA

View raw message