hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2161) Fix build on macosx: YARN parts
Date Mon, 16 Jun 2014 07:03:02 GMT

    [ 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)

Mime
View raw message