Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10765

Unable to build hadoop-2.2.0 under FreeBSD-10

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                trtrmitya Dmitry Sivachenko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: