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

CgroupsLCEResourcesHandler does not support the default Redhat 7/CentOS 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • nodemanager
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: