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

Reply via email to