Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2686

CgroupsLCEResourcesHandler does not support the default Redhat 7/CentOS 7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
      None

      Description

      CgroupsLCEResourcesHandler uses "," to seprating resourcesOption.
      Redhat 7 use "/sys/fs/cgroup/cpu,cpuacct" as the cpu mount dir. So container-executor would use the wrong path "/sys/fs/cgroup/cpu" as the container task file. It should be "/sys/fs/cgroup/cpu,cpuacct/hadoop-yarn/contain_id/tasks".
      We should someother character instand of ",".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                beckham007 Beckham007
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: