hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Sivachenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10765) Unable to build hadoop-2.2.0 under FreeBSD-10
Date Sat, 28 Jun 2014 18:28:24 GMT
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)

Mime
View raw message