You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Binglin Chang (JIRA)" <ji...@apache.org> on 2014/06/16 09:03:02 UTC

[jira] [Commented] (YARN-2161) Fix build on macosx: YARN parts

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

Binglin Chang commented on YARN-2161:
-------------------------------------

Changes:

container-executor.c:
1. make mkdirs more compatible, remove usage of mkdirat/openat
2. use sysconf() to get LOGIN_NAME_MAX
3. macosx doesn't have fcloseall, so close all opened fds on macosx
4. disable cgroup on macosx

test-container-executor.c:
1. macosx do not have user bin, skip a check
2. change /etc/passwd(not exists on mac) to /bin/ls


> Fix build on macosx: YARN parts
> -------------------------------
>
>                 Key: YARN-2161
>                 URL: https://issues.apache.org/jira/browse/YARN-2161
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>         Attachments: YARN-2161.v1.patch
>
>
> When compiling on macosx with -Pnative, there are several warning and errors, fix this would help hadoop developers with macosx env. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)