[jira] [Commented] (YARN-2686) CgroupsLCEResourcesHandler does not support the default Redhat 7/CentOS 7
[ https://issues.apache.org/jira/browse/YARN-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)
[jira] [Commented] (YARN-2686) CgroupsLCEResourcesHandler does not support the default Redhat 7/CentOS 7
[ https://issues.apache.org/jira/browse/YARN-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171851#comment-14171851 ] Beckham007 commented on YARN-2686: -- [~ywskycn] looking forward for the patach. Should we also support the libcgroup of Redhat 7? 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)
[jira] [Commented] (YARN-2686) CgroupsLCEResourcesHandler does not support the default Redhat 7/CentOS 7
[ https://issues.apache.org/jira/browse/YARN-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171890#comment-14171890 ] Wei Yan commented on YARN-2686: --- [~beckham007], Redhat doesn't recommand that way. To avoid conflicts, do not use libcgroup tools for default resource controllers (listed in Available Controllers in Red Hat Enterprise Linux 7) that are now an exclusive domain of systemd. So we plan to move the cpu part using systemd. 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)