[ https://issues.apache.org/jira/browse/HADOOP-10765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth resolved HADOOP-10765. ------------------------------------ Resolution: Duplicate Hello, [~trtrmitya]. Thank you for the bug report. This is a duplicate of YARN-1327. That issue has an uncommitted patch attached to it that fixes the problem if you want to take it for a test run. > 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)