Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.2.0
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
YARN-1327 Fix nodemgr native compilation problems on FreeBSD9
- Resolved