[ https://issues.apache.org/jira/browse/YARN-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170898#comment-14170898 ]
Wei Yan commented on YARN-2686: ------------------------------- According to the document of Redhat 7, it is not recommended to use libcgroup to do the cpu isolation. So YARN-2194 is working on systemd-based solution. Will update a patch for that jira soon. > CgroupsLCEResourcesHandler does not support the default Redhat 7/CentOS 7 > ------------------------------------------------------------------------- > > Key: YARN-2686 > URL: https://issues.apache.org/jira/browse/YARN-2686 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Reporter: Beckham007 > > 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 ",". -- This message was sent by Atlassian JIRA (v6.3.4#6332)