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 "Dmitry Sivachenko (JIRA)" <ji...@apache.org> on 2014/06/28 20:28:24 UTC

[jira] [Created] (HADOOP-10765) Unable to build hadoop-2.2.0 under FreeBSD-10

Dmitry Sivachenko created HADOOP-10765:
------------------------------------------

             Summary: Unable to build hadoop-2.2.0 under FreeBSD-10
                 Key: HADOOP-10765
                 URL: https://issues.apache.org/jira/browse/HADOOP-10765
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Dmitry Sivachenko


hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
file uses Linux-specific semantic for mount():

if (mount("none", mount_path, "cgroup", 0, controller) == 0) {

FreeBSD has different format for mount(2) system call:
int mount(const char *type, const char *dir, int flags, void *data);

So the build breaks.

Please port this piece of code to be usable under FreeBSD too.



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